Great module, but one customer complained that the background is too dark.

Although the lightbox CSS defines opacity as 0.6, when I inspect the overlay element with firebug - it shows 0.8. Searching the code, I find no clue to 0.8. Event when I change the lightbox CSS from 0.6 to 0.7, the value inspected in firebug remains 0.8. I could only change the value from within firebug.

Questions:
1. Any idea on how to make the background lighter?
2. Is it possible to do it without messing with javascript and breaking the upgrade patch?
3. I think it's a good idea to define the opacity value as a configuration option.

Cheers,

Amnon
-
Professional: Drupal Israel | Drupal Development & Consulting | Eco-Healing | Effective Hosting Strategies | בניית אתרים
Personal: Hitech Dolphin: Regain Simple Joy :)

CommentFileSizeAuthor
#2 lightbox2_210866.patch10.26 KBstella
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

stella’s picture

It's set again in lightbox2/js/lightbox.js on line 53. Unfortunately it's needs to be set in the javascript as well as the CSS file for IE browsers. I'll create a patch to allow it to be a configurable option on the settings page.

Cheers,
Stella

stella’s picture

Status: Active » Fixed
FileSize
10.26 KB

The attached patch should do what you want. I've also checked it into CVS, so the next dev release of the module (available later today) should have the same changes.

Cheers,
Stella

stella’s picture

Released in 5.x-2.3 and 6.x-1.3.

Cheers,
Stella

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.