Is it possible to start a colorbox based on a specified index?
I would like to be able to pass in the index of the image 开发者_如何学CI want colorbox to start on when it opens. So if the user clicks on image 8 of 12 I still want the group to start in the lightbox on image 3. Is this possible?
I found a way to do it is to fire up colorbox on a list of images then call
$('selector').eq(indexhere).click();
Thank's for taking a look hookedonwinter.
精彩评论