I cannot get the following callback function to work. The alert is never triggered. The initial animation is performed on '.carousel-images' however.
$('.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 assistance would be greatly appreciated!