Results 1 to 3 of 3

Thread: How to change opacity in Lightbox 2.03a

  1. #1
    Join Date
    Dec 2007
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question How to change opacity in Lightbox 2.03a

    1) Script Title: Lightbox image viewer 2.03a

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

    3) Describe problem: In the older Lightbox viewer I could simply adjust the opacity in the overlay.png but this version does not use a .png so how can the opacity be adjusted?

    Happy Holidays,

    Don

  2. #2
    Join Date
    May 2006
    Location
    Sydney, Australia - Near the coast.
    Posts
    1,995
    Thanks
    0
    Thanked 8 Times in 7 Posts

    Default

    Find this line and change 0.8 to whatever you want the opacity to be:
    Code:
    new Effect.Appear('overlay', { duration: overlayDuration, from: 0.0, to: 0.8 });
    (In lightbox.js)
    Peter - alotofstuffhere[dot]com - Email Me - Donate via PayPal - Got spare hardware? Donate 'em to me :) Just send me a PM.
    Currently: enjoying the early holidays :)
    Read before posting: FAQ | What you CAN'T do with JavaScript | Form Rules | Thread Title Naming Guide

  3. #3
    Join Date
    Dec 2007
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs up Thanks

    Hey, thanks a bunch.....I have looked through that script a zillion times and still missed that. :-(

    Happy Holidays,

    Don

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
  •