PDA

View Full Version : Lightbox image viewer 2.03a



tochagear
01-21-2009, 05:00 PM
1) Script Title: Lightbox image viewer 2.03a

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

3) Describe problem: I want to have the "PREV" and "NEXT" nav buttons appear permanently instead of hover on an image. I do want to keep behavior where if it's the first image there is no "PREV" or if it's the last image there is no "NEXT"

jscheuer1
01-21-2009, 05:12 PM
In the lightbox.css file, change:


#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; }


to:


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

tochagear
01-21-2009, 06:30 PM
John thanks for the modification