PDA

View Full Version : Problems lightboxV2 - group image links



metn
11-10-2006, 09:06 PM
Hi i just tried to work with the lightbox V2.
It works great when i just want to click on the images and it appears.
But when i want to group the image links, si you can go from one pic to the next (by clicking it) Then it doesn't work.

How do you make a group.

Hereby you can find the URL, whit my pics (without the grouped images)
Can someone please tell me how to get i fixed.

http://users.telenet.be/metn/

Thanks in advance

metn

jscheuer1
11-10-2006, 10:00 PM
LightBox version 2 adds the ability to group multiple image links together, so an image gallery is created out of the enlarged images:


<a href="images/image-1.jpg" rel="lightbox[roadtrip]">image #1</a>
<a href="images/image-2.jpg" rel="lightbox[roadtrip]">image #2</a>
<a href="images/image-3.jpg" rel="lightbox[roadtrip]">image #3</a>

As you can see, to group image links together, simply modify the "rel" attribute to be "lightbox[roadtrip]" instead, where "roadtrip" is an arbitrary but unique name for that group. You can have multiple groups of images on the same page- just use a unique group name in each case. Grouped images can be cycled through by clicking on the right/left edges of each enlarged image.