开发者

Opening a lightbox gallery without duplicating the first image?

开发者 https://www.devze.com 2023-03-06 09:58 出处:网络
I\'m using Lightbox Plus (Colorbox-based) to create product galleries using NextGEN Gallery in WordPress (Don\'t worry -- this is more a programming question than a WP question; ergo why it\'s here).

I'm using Lightbox Plus (Colorbox-based) to create product galleries using NextGEN Gallery in WordPress (Don't worry -- this is more a programming question than a WP question; ergo why it's here).

Each prod开发者_C百科uct has a number of thumbnails linking to the full-sized image, grouped by rel. When I click any of the thumbnails, it opens as a grouped lightbox gallery; fantastic.

The problem I now face is that I'm needing to open each lightbox gallery from a text link. If I link to the first image in the set, the lightbox script interprets that as meaning I want that image twice in the set; not just invoke that particular lightbox group.

How does one open a certain lightbox group without explicitly linking to an image?


See the last entry in the ColorBox FAQ ("Create a separate link for opening a gallery"): http://colorpowered.com/colorbox/#click

0

精彩评论

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