Posted By

envane21 on 09/07/15


Tagged

loop right Left arrow movement


Versions (?)

Arrow Movement Loop


 / Published in: jQuery
 

Make an element move left - right

  1. function ani() {
  2. $('.arrow').animate({
  3. top: '-5px',
  4. queue: true,
  5. }, 1000).animate({
  6. top: '5px',
  7. queue: true
  8. }, 500, ani);
  9. };

Report this snippet  

You need to login to post a comment.