i saw many posts with sliders using jquery/css.
i have a database from where i retrieve links of images and text.
i want to create a recent feed section of a slider type with automatic scrolling, like the ones seen on many sites.
I saw this example on stackoverflow http://jsfiddle.net/uXn2p/1/
It uses overflow hidden property and animates the sliding.
I added this piece of code to make it automated.
setInterval(function() {
$(".list").delay( 800 ).animate({scrollLeft: "+=330"}, 'slow', "swing");
$(".list").delay( 800 ).animate({scrollLeft: "+=330"}, 'slow', "swing");
$(".list").delay( 800 ).animate({scrollLeft: "-=990"}, 'slow', "swing");
}, 2000);
But once this animation begins the prev/next buttons stop working. I know i am doing something wrong that isn't valid with jquery.
What is it? How do i correct it?