Log in

View Full Version : Lightbox image viewer next and previous buttons



Dman9999
10-23-2008, 07:18 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: Does anyone know if there is a way to make the next and previous buttons stand out a little more? I know they show up when rolled over, but can they stay that way or be larger? Thanks.

jscheuer1
10-24-2008, 06:44 AM
To make them always visible (when available - previous is not available when viewing the first image in a group, next is not available when viewing the last image in a group, neither are available when viewing an image that is not part of a group of at least two images), change this part in the lightbox.css file:


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


To make them bigger, edit them in an image editing program or make your own images and use those. They can look like and be the size you make/edit them to be.