[jQuery] Tweaks to jCarouselLite

[jQuery] Tweaks to jCarouselLite


Hi,
I've just tried to implement jCarouselLite [1] on a project I'm working
on. Nice plugin - perfect for my needs of a lightweight carousel for
this project :)
But I came across a couple of problems. For some reason, when I set
circular to false the carousel stopped animating for me. Not sure why as
it works on the example on the authors site - maybe because my carousel
had more items in... Or maybe because I have more than one carousel on
the page...
I also wanted to update the state of the previous and next buttons when
the plugin initialised and set them to disabled if necessary. So I made
a couple of changes to the plugin - you can get the changed file here:
http://kelvinluck.com/assets/jquery/jCarouselLite/jquery.jcarousellite.js
And a patch showing the changes here:
http://kelvinluck.com/assets/jquery/jCarouselLite/jquery.jcarousellite.js.patch
Hope that's helpful,
Kelvin :)
[1] http://www.gmarwaha.com/jquery/jcarousellite/