jsor/jcarousel — Issue #318: Don't autoscroll with one image
Author: ic3y
Created: 2012-02-17 09:15:43+00:00
State: open

I am using the code below. It works fine with my dynamic gallery's. However some of the gallery's have just one image and it scrolls that image as well. Is it possible to start scrolling when there are two images? Since the content is dynamic, some pages happen to have just one image.

jQuery.noConflict();
(function($) {
$(function() {
jQuery(".slider").jCarouselLite({
btnNext: ".next",
btnPrev: ".prev",
scroll: 1,
visible: 1,
auto: 2700,
speed: 700
});
});
})(jQuery);