Results 1 to 2 of 2

Thread: Lightbox 2.+ linking after first loading images

  1. #1
    Join Date
    Aug 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Lightbox 2.+ linking after first loading images

    1) Script Title: Lightbox 2.+

    2) http://www.dynamicdrive.com/dynamici...box2/index.htm

    3) Describe problem:

    Script working fine, but when the page is loading together with the image thumbnails lightbox isn't working yet. So If i click a thumb then it will load the picture in a new window and not in the nice layout of lightbox.

    So did i do something wrong or is it possible to make the links of the thumbs clickable after the whole page is loaded?

  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

    So did i do something wrong or is it possible to make the links of the thumbs clickable after the whole page is loaded?
    I'm not sure if this is what you really meant to ask. If it is, you did nothing wrong and the links are clickable after the whole page is loaded. The links are only not 'lightbox activated' while the page is loading. The script requires that the entire page be loaded before it can activate the links. To minimize the amount of time that takes, optimize your images (especially the thumbnails), avoid tables, use valid code, etc.

    You might consider using slimbox:

    http://www.digitalia.be/software/slimbox

    which has a much lower script overhead, but otherwise looks and feels like lightbox. Lowering the script overhead is an additional measure that will help speed the page load.
    - 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
  •