PDA

View Full Version : lightbox image viewer V1 - please help!!!



webber
03-16-2007, 02:41 AM
1) Script Title: lightbox image viewer V1

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

3) Describe problem: I have read through all the posts and have tried many things they suggest but just cannot get it to work. I am at a complete lost. Any help would be intensely appreciated. There is only one image on the screen (the profile shot) which I want to get it to work with for the moment. Thank you in advance....

The link is:
http://www.willowwebsite.com/artists2.htm

jscheuer1
03-16-2007, 03:20 AM
Since you have one, you need to add lightbox to your onload:


<body onLoad="initLightbox();MM_preloadImages('images/home_ro.jpg','images/artists_ro.jpg','images/services_ro.jpg','images/contact_ro.jpg');">


And it would be a good idea, though probably not required, to remove it (remove this line):


addLoadEvent(initLightbox); // run initLightbox onLoad

from the end of lightbox.js. The rel is lightbox, not lighthouse:


<a href="willow-2005-photo.jpg" rel="lightbox" title="Caption- cute cat!">

For the full effect, you will need to upload loading.gif, close.gif and overlay.png to the same folder containing the page and script.

webber
03-16-2007, 04:05 AM
IT WORKS, IT WORKS!!!!
I knew it would be something as simple as that, I feel so daft, I was looking so hard at the problem I couldn't see the forest for the trees so to speak. I just want to say I immensely appreciate you taking the time to assist me, tonight when I knock off from work I will fill my goblet of thanks and raise it in a salute to you!!!! Cheers Mate!!!!