Scrolling Thumbnails to specific image on page load
Hey:
I am using .scrollable (from flowplayer.tools) to create an image gallery with thumbnails.
There are 6 viewable thumbnails at a time and the 'nextPage' and 'prevPage' buttons scroll the thumbnails in groups of 6.
I also have some functionality that (depending on what link you follow to get to the gallery)can load any image within the gallery upon pageload. meaning, it will display that image in the imageWrap and also scroll the thumbnails to the correct position(i am using a math equation for this) to display the highlighted thumbnail.
The problem is that when you click the nextPage button,it will always go to the 2nd position. so that means i have to update that var to show that it is no longer at 0(the starting pos).
Does anyone have a clue as to how i might go about doing that?
Thanks!