View Full Version : problems with lightbox

10-14-2008, 03:43 AM
i'm having some trouble with the lightbox image viewer javascript. it basically is working correctly, but it's messing up my other website items. i have a banner image at the top of my page, and when i click on my images and they expand in the viewer, it rearranges the background and my banner disappears.

www.oliverartist.com (http://www.oliverartist.com)

i can copy and paste code if anyone is able to help and needs it for reference.
any ideas anyone?

thanks for any help!

10-14-2008, 09:03 PM
Here's your problem:
<td width="735" valign="top"><div align="center" id="caption">
<img src="astro_squid_banner.jpg" alt="" name="pic" width="684" height="288" border="0"><img src="oliver_title.jpg" width="684" height="31" align="top"></p>
</td>Lightbox is putting the image's title there because it's the first element in the document with an id of "caption" (and you don't see it because both the background color and the text are black; use Ctrl+A to verify this). You need to move that attribute to the element that should hold the image's description - and nothing else.

10-15-2008, 02:55 AM
perfect. thank you for your help!