JCarousel scroll method does not always fire
- by Scott Faisal
var carousel = jQuery('#mycarousel').data('jcarousel');
var index = carousel.size() + 1;
carousel.size(index);
var html = '<li> some html </li>';
carousel.add(index, html);
carousel.scroll(index, 1);
The very last scroll method fires but not always. Is this a bug in JCarousel?
The following is the code for the scroll method in…