/ Published in: jQuery
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$('.next').click(function() { $('#foobar').animate({left: '-=1000px'}, 200); }); $('.previous').click(function() { $('#foobar').animate({left: '+=1000px'}, 200); });