PDA

View Full Version : Lightbox waits until all images are loaded to work. Advice?



AHalsey
11-11-2010, 07:46 AM
1) Script Title: Lightbox v2.03a

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/lightbox2/index.htm

3) Describe problem: I noticed that (in Safari) the lightbox will not appear until all the images in the series has loaded. So if I am loading 50 images and the first are loading up and I click on one... it will open the image in a new window rather than in the lightbox. Once the images stop loading, the lightbox starts working.

Any workaround to force the lightbox to open without all the images loading?
Thanks!

jscheuer1
11-11-2010, 08:24 AM
The script introduced here:

http://www.dynamicdrive.com/forums/showthread.php?p=163470#post163470

takes care of that. So does the original v2.04 referenced from that page. But 2.04a adds back the added capabilities of 2.03a, and then some. The First Light feature is optional.

Any questions about 2.04 or 2.04a, ask here in this thread.

AHalsey
11-11-2010, 05:34 PM
I never was able to get this working. It always waited until all images loaded before it would actually appear in a lightbox. When images were still loading it would just open as a link.

I decided to go a different route and drop lightbox. Thanks though!
~A