Hi, I have page with jQuery Click here to see code for this site is.
<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>
After sliding is completed it starts in reverse order i.e its slide up in the end, i comment
$('#feed'+i).slideUp(1000, move(i));
this line but then the slide will stop when it completed. so is there a way to continously start the slide in slidedown direction.