PDA

View Full Version : JS lightbox2 problem



jhatter
04-29-2011, 10:43 AM
Hi all,

I'm having a slight problem with a lightbox, which I originallty got from http://www.huddletogether.com
When the first image is clicked everything appears OK. You click NEXT (at top right), it goes to the next image ok, but the NEXT gif then appears out of the frame, below the X CLOSE button/gif. However the PREV button/gif is in the correct place, top left.

http://www.johnhathway.co.uk/maplesv2/photo_tour2.html

Any ideas please?

Also any ideas how to get the PREV & NEXT button to appear all the time, rather than just when you hover over the image?

Many thanks.

jhatter
05-05-2011, 07:34 AM
The problem occurred due to the <style> used in an adjacent Navigation Div.

I eliminated the problem by going through each div and deleting it temporarily. So adjusting the Margin-right from 25px to 12px sorted the problem out. STRANGE but TRUE!


a:link,a:visited {
font-weight:bold;
color:#FFFFFF;
text-align:left;
padding:0px;
margin-right:12px;
text-decoration:none;
text-transform:none;
}