Simple Left - Right Animation


/ Published in: jQuery
Save to your folder(s)

A simple left-right animation


Copy this code and paste it in your HTML
  1. $(function () {
  2. function runIt() {
  3. $('.arrowYellow').show("slow")
  4. .animate({"marginLeft":"10px"},600)
  5. .animate({"marginLeft":"0px"},600)
  6. runIt();
  7. }
  8.  
  9. runIt();
  10. });

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.