PDA

View Full Version : Lightbox Viewer 2 Next/Previous Buttong



vanbao
01-26-2008, 06:48 AM
1) Script Title: Lightbox Viewer 2

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

3) Describe problem: This is a beautiful script btw. Thank you to the person who made it.

Currently the next and previous button only shows up when the mouse is hovered over the image. I would like to change it so that the buttons will show up right after it finish loading the image. This way, viewers don't forget that there are more images.

jscheuer1
01-26-2008, 07:35 AM
Change (in lightbox.css):


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

vanbao
01-26-2008, 07:56 AM
John, You are awesome. As always, thank you.