Results 1 to 3 of 3

Thread: Lightbox Loading

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

    Default Lightbox Loading

    i've noticed on my page lightbox is loading LAST, i was hoping theres a way to make it load FIRST, if you can tell me what i need to do i'd much apprciate it, thanks...


    www.merciless-gods.com/pics.htm is the page....

  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

    Not really. Lightbox needs all the images it will work off of (thumbnails and helper images) loaded before it can init. You could, for example, place an initialization call for just after all the images on the page that trigger it but, it would in some cases still act oddly until the entire page (including the little helper images for the script) were loaded. Looking at your page, I can see that you are using the same images for the thumbnails as for the large scale display, leaving it to the browser to resize them for the thumbnail representations. This makes the page take much longer to load than would be the case if you used smaller, optimized, resized (perhaps even cropped) thumbnail images for the thumbnails. Taking care of that situation would go a long way towards solving your problem but, the lightbox effect really shouldn't load until the page has loaded. The potential for errors is too great. One other thing you can do is remove as many other images and perhaps even that flash thinger from the page, anything that also needs to 'get loaded'.
    - John
    ________________________

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

  3. #3
    Join Date
    Feb 2006
    Posts
    61
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Talking

    thanks ischuer i'll take all those ideas into mind, but you anwsered my question perfectly,

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
  •