When using this module with Drupal 7, and viewing it on Chrome, I'm seeing the background as flat black. I changed the opacity down to 0.3, but it doesn't actually do anything - My guess is some part of the fade in/face out code is sending the opacity to 1.0 and then it gets stuck there, but I'm not having any luck figuring out where.

Members fund testing for the Drupal project. Drupal Association Learn more


jcfiala’s picture

More data.

1) I'm using the modal ability, so it's lightmodal.

2) It _is_ the fadeIn on line 302:

    if (lightvideo && this.detectMacFF2()) {
      $("#lightbox2-overlay").css({'opacity' : null});
    else {
      $("#lightbox2-overlay").css({'opacity' : Lightbox.overlayOpacity});

When I replaced that last fadeIn with:

$("#lightbox2-overlay").fadeTo(Lightbox.fadeInSpeed, Lightbox.overlayOpacity);

Everything worked fine. Let's see if I can whack out a quick patch.

jcfiala’s picture

Status: Active » Needs review
590 bytes

Here we go...

majingas’s picture

Issue summary: View changes
518 bytes

Edit: don't use this patch.

majingas’s picture

Submitting patch that doesn't use sites/all/modules path to work better with makefiles and profiles.