Results 1 to 2 of 2

Thread: Problems lightboxV2 - group image links

  1. #1
    Join Date
    Nov 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Problems lightboxV2 - group image links

    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

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    LightBox version 2 adds the ability to group multiple image links together, so an image gallery is created out of the enlarged images:

    HTML Code:
    <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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •