Hi, I have page with jQuery Click here to see code for this site is.
After sliding is completed it starts in reverse order i.e its slide up in the end, i commentCode:<script type="text/javascript"> var delay = 4000; // you can change it var count = 5; // How much items to animate var showing = 3; //How much items to show at a time var i = 0; function move(i) { return function() { $('#feed'+i).remove().css('display', 'none').prependTo('#feeds'); } } function shift() { var toShow = (i + showing) % count; $('#feed'+toShow).slideDown(1000, move(i)); $('#feed'+i).slideUp(1000, move(i)); i = (i + 1) % count; setTimeout('shift()', delay); } $(document).ready(function() { setTimeout('shift()', delay); }); </script>
this line but then the slide will stop when it completed. so is there a way to continously start the slide in slidedown direction.HTML Code:$('#feed'+i).slideUp(1000, move(i));



Reply With Quote

Bookmarks