jCarousel and Thickbox gallery

jCarousel and Thickbox gallery


hi, i have a jCarousel with thickbox running. i wanted to use thickbox
with next and prev so the user doesnt have to keep opening and closing
the modal box. i added it to the script and it works except that it
only loads the images showing. so if i have three onscreen and open
one for the thickbox. then it only shows the next and prev of those
three, even though there are about 25 total images.
i found this thread online, discussing the same issue:
------------------------
I am loading a text file dynamically with ajax into jcarousel and then
using thickbox. It work great except that in thickbox it only loads
the number of files that I can scroll to next i.e.
there are 55 images in my text file but in thickbox I get:
Image 3 of 6 < Prev Next >
Is there a way to get: Image 3 of 55 < Prev Next >
in thickbox without having to scroll throught the carousel first
_______________________________________
HERE IS HIS SOLUTION:
in jquery.jscarousel.js
1. set itemStart to 100
since none of my text files have more than 100 items.
2. set priv.scroll(priv.o.itemStart + 3);
since I had set Visible: 3 itemScroll: 3, for the carousel.
3.set wrapPrev: true
When the carousel loads it loops through all of the items them
postions itself on itemStart
(the last item in my file <100) + 3.
When Thickbox opens it now show the right numbers of items and
Jcarousel positions itself on the first item.
____________
i dont understand item #2. does anyone know where i put this line?
does it go in a function or in the main settings? if someone has an
example of this setup i would really appreciate getting to see it,
thanks!!
MM