我正在使用Lightbox Plus(基于Colorbox)在WordPress中使用NextGEN Gallery创建产品库(Don 't worry -- this is more a programming question than a WP question; ergo why it' s here) .
每个产品都有许多链接到全尺寸图像的缩略图,按rel分组 . 当我点击任何缩略图时,它会作为分组的灯箱库打开;太棒了 .
我现在面临的问题是我需要从文本链接打开每个灯箱库 . 如果我链接到集合中的第一个图像,灯箱脚本会将其解释为我希望该集合中的图像两次;不仅仅是调用那个特定的灯箱组 .
How does one open a certain lightbox group without explicitly linking to an image?
1 回答
请参阅ColorBox FAQ("Create a separate link for opening a gallery")中的最后一项:http://colorpowered.com/colorbox/#click