Results 1 to 2 of 2

Thread: Lightbox image viewer next and previous buttons

  1. #1
    Join Date
    Oct 2008
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Lightbox image viewer next and previous buttons

    1) Script Title: Lightbox image viewer 2.03a

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...box2/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.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    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:

    Code:
    #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:

    Code:
    #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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •