PDA

View Full Version : How to change opacity in Lightbox 2.03a



dongares
12-22-2007, 10:02 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: 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

tech_support
12-23-2007, 12:13 AM
Find this line and change 0.8 to whatever you want the opacity to be:

new Effect.Appear('overlay', { duration: overlayDuration, from: 0.0, to: 0.8 });

(In lightbox.js)

dongares
12-23-2007, 12:29 AM
Hey, thanks a bunch.....I have looked through that script a zillion times and still missed that. :-(

Happy Holidays,

Don