I am attempting to get the index of the current item in a JCarousel so that I can display the current position within the Carousel to the user. For example, \'13/20\'.
H
It doesn't seem as obvious as I would have hoped from a jQuery plugin to be honest.
There are two callbacks itemVisibleInCallback
and itemVisibleOutCallback
, but they're only going to be useful if you're only displaying one image at a time.
To be honest, as much as I hate to send you down a totally different path, I would highly recommend using the cycle plugin for carousel work as it allows much, much finer customisation that would I could see from my quick look through the jCarousel (sorry jCarousel author - the code itself looks brilliant!).