function thumb_wheel() {
$("#slider .nivo-controlNav img").animate({left: '-600px'}, 14000, function(){
$(this).css({left:'0px'}, function(){
thumb_wheel();
});
});
};
Basically, once the animation finishes, I would like it to reset “left” to 0px, and call itself again. I’ve tried formatting it different ways, using setInterval, etc… Checked Google, Stack, and #jQuery… and no matter what I try, it seems to ‘hang’ when I add the reset. Any ideas?
You can see a working solution in this jsfiddle:
http://jsfiddle.net/GjemU/
You had some syntax errors in your code as well as you tried to use a non-existing callback on
.css