PDA

View Full Version : Help with Lightbox image viewer?



hbell
07-17-2007, 08:43 AM
1) Script Title: Lightbox image viewer

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

3) Describe problem:
I'm running into problems with preloadImages for my rollovers interfering with the lightbox image viewer functions? When I take out onload="preloadImages();" from the <body> tag, Lightbox works... but my rollovers don't. How can I work around this?

Link to lightbox working on the site without the rollovers: http://www.hughbell.com/test/3d1.html

Link to lightbox not working and rollovers working: http://www.hughbell.com/test/3d.html

only difference is the onload="preloadImages();"

Pretty new at this, so thank you very much for any help.

jscheuer1
07-17-2007, 01:55 PM
Try:


onload="preloadImages();initLightbox();"

hbell
07-17-2007, 09:20 PM
Worked perfectly. Thank you VERY much