SmoothScroll is a jCarousel plugin that forces a carousel to animate at a constant pace, regardless of varying item widths. Without SmoothScroll, a carousel which continously animates may speed up or slow down depending on the width of the list item being animated.
You must have jCarousel installed prior to loading the SmoothScroll plugin.
Install either by downloading jquery.jcarousel-smoothscroll.js to your project directory or, if you have Bower installed, simply enter bower install jcarousel-smoothscroll
into your command line to install.
The following is an ideal SmoothScroll configuration. Alter animation settings as necessary.
$('.jcarousel').jcarousel({
wrap: 'circular',
animation: 15000
})
.jcarouselSmoothScroll()
.jcarouselAutoscroll({
target: '+=1',
interval: 0
});
Copyright 2014 Andrew Duthie.
Released freely under the MIT license (refer to LICENSE.txt)