I cannot use the following callback function. Warning never fires. The initial animation only runs on '. Carousel-images'.
$('.carousel-images').animate({'left' : left_indent},{queue:false, duration:500},function(){ alert("animate carousel"); //get the first list item and put it after the last list item $('.carousel-images li:last').after($('.carousel-images li:first')); //get the left indent to the default $('.carousel-images').css({'left' : '-1200px'}); });
Any help would be greatly appreciated!
source share