PDA

View Full Version : lightbox caption disappears



Pete Denly
01-10-2008, 09:57 AM
1) Script Title: lightbox

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

3) Describe problem: I have been using the Lightbox v2.03 with no problem but having changed the js file to use v2.03a so I can have a hyperlink on the caption the caption is there but not visible (it operates the link ok). On removing the link rev the caption is fine. Is this to do with the formatting of the caption using css? Have tried adding a color for caption in the lightbox.css file to no effect. Can you control the caption styles through css? Why is the caption not visible when a rev is applied? Thanks

Pete Denly
01-10-2008, 10:37 AM
1) Script Title: lightbox

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

3) Describe problem: I have been using the Lightbox v2.03 with no problem but having changed the js file to use v2.03a so I can have a hyperlink on the caption the caption is there but not visible (it operates the link ok). On removing the link rev the caption is fine. Is this to do with the formatting of the caption using css? Have tried adding a color for caption in the lightbox.css file to no effect. Can you control the caption styles through css? Why is the caption not visible when a rev is applied? Thanks
OK OK I have solved this problem. The general a:link a:visited css is set to white as they appear on a dark background. So I have set a specific css to target the title captions on pictures in Lightbox to a dark colour, so all is fine. Yes, you can style captions in Lightbox!! (Panic over)