• OK,

    I have a site that has the lightbox plugin installed and running. The problem is that while the page is still loading and when you click on a thumbnail during this process, it doesn’t load the lightbox feature, instead it just takes you to the image iself as though lightbox isn’t even there. I have done many many searches on google and elsewhere for fixes, but not a single one of them have worked. Does anyone know how to get past this?

    Thank you,
    Kahil

Viewing 2 replies - 16 through 17 (of 17 total)
  • Well, you have to wait for the full page’s HTML to load because the Javascript doesn’t start until the whole HTML is loaded (rather than like before when all images and stuff had to load).

    If you enable GZip, then the browser will be sent the whole page at once (compressed) rather than in a stream (top to bottom). That’ll result in the bottom of the page loading at the same time as the top, so in combination with the above code, it should result in no lack of Lightbox working.

    Options -> Reading btw.

    Anyone still have solution for this?!?!? My page has been shut down almost a week now for this and I can’t find any solution. Whether gzip is on or off scripts in head section won’t load before images. Only way is to add that code snippet to the bottom of the page mentioned above but it crashes IE totally.

Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘lightbox and the onload problem…’ is closed to new replies.