PDA

View Full Version : Lightbox image viewer 2.0 - Prev/Nex tabs question



~jc
07-24-2006, 10:48 PM
1) Script Title: Lightbox image viewer 2.0

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

3) Describe problem:

Hi there,

Just wondering if there's any way to disable the mouseover function of the Prev/Nex tabs so that they appear on the image all the time?

Thanks!

jr_yeo
07-25-2006, 01:04 AM
1234567

jscheuer1
07-25-2006, 03:52 AM
In the file lightbox.css find these styles:


#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(../images/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(../images/nextlabel.gif) right 15% no-repeat; }


Change them to:


#prevLink { left: 0; float: left;background: url(../images/prevlabel.gif) left 15% no-repeat;}
#nextLink { right: 0; float: right;background: url(../images/nextlabel.gif) right 15% no-repeat;}

~jc
07-25-2006, 04:21 PM
Thanks John! Your codes worked like charm! =)