开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜