SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Apr 2009
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    two lightbox galleries

    Hi

    I am using the following in my website

    http://lokeshdhakar.com/projects/lightbox2/

    I would like a second lightbox popup on another page but the second one to be a different size popup

    I have added in to the other page the following

    Code:
    rel="lightbox[products]"
    I just am unsure on how to call it so it works and give it a different size when it pops up

    Any ideas

    Kind regards

    Ian

  2. #2
    Gre aus'm Pott gold trophysilver trophybronze trophy
    Pullo's Avatar
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    5,889
    Mentioned
    210 Post(s)
    Tagged
    12 Thread(s)
    Hi,

    Two things:
    1. You need to make sure you include the LightBox files on your second page as well. Just adding rel="lightbox on it's own, won't work.
    2. I'm unaware of any option in the LB plugin that allows you to resize images on the fly. The easiest thing is to resize the image using a separate program.


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
  •