Regarless of the Shadowbox overlay settings, the opacity of the overlay remains at 0.5 using latest 7.x-4.x-dev

Comments

nodecode’s picture

Title: Shadowbox doesn't respect overlay opacity settings. » Shadowbox settings not working

Actually NONE of the settings at admin/config/media/shadowbox as far as I can tell.

manfer’s picture

Status: Active » Fixed
wimberb’s picture

I see that this was marked as fixed. I have been watching this thread hoping that this issue would eventually be addressed. I have installed the past couple of dev versions including 7.x-4.0-beta4+14-dev (2013-Mar-17) but nothing has changed on my site. None of the settings under Global Shadowbox Options seem to have any effect. For instance I have "Enable continuous galleries" checked but continuous galleries is not working.

Drupal 7.21
JQuery update 7.x-2.3 set to jQuery Version 1.5. jQuery 1.5 allows Shadowbox to work but it ignores shadowbox settings. Shadowbox does not work at all on my site with jQuery 1.7 or 1.8.
Shadowbox: All settings checked under Auto Handling.

Is there something else I should be looking at that could be preventing Shadowbox settings from taking effect?
Thanks for all your great work on this module.

manfer’s picture

I have just pushed the fix some minutes ago. In some hours the new dev version should be package by drupal system and made available on the project page.

I would have to check if the 7.x-4.0-beta4+14-dev has the fix already but almost sure it hasn't as new dev packages takes some time to be available on the project page.

In the meanwhile if you want to test being sure you are using the last dev version you would need to directly pull the 7.x-4.x development branch from the git repository.

As soon as I'm sure the dev version on the project page has the fix I will notify again here.

About the issues with jQuery I can check but shadowbox works fine without the need of any other library. I would suggest to get shadowbox 3.0.3 library without any adapter, the one that hasn't any dependency to any other library.

This is done by going to:
http://www.shadowbox-js.com/download.html
And not changing the first drop-down. It must say Base (standalone) instead of chosing any of the adapters (dojo, mootools, jquery, ...) as they are no needed. That way you forget about any problem with shadowbox and jquery version of your drupal site.

Regards.

wimberb’s picture

With the latest dev the settings now work. Thanks for fixing this!

Regarding your suggestion to use the Base (standalone) version. I did as you suggested and replaced the jQuery version with the Base version but I am still seeing the same result. If I set jQuery update to 1.7 or 1.8 it breaks Shadowbox. Shadowbox works fine with 1.5.

manfer’s picture

I would need a link to a site showing the problem if you want me to review as this must be some error on your site.

I have tested and jquery update doesn't break shadowbox, nor with jquery 1.7, nor with jquery 1.8. So I bet that some other module, some other javascript on your site is not compatible with those jquery versions and is triggering a javascript error that stops further javascript execution.

I will continue testing if I can but I'm seeing too that jquery update has lots of issues including making all other js to fail.

wimberb’s picture

Thanks for the explanation about jQuery update and its problems. I will just leave it set at 1.5. I don't have any issues on my site with this setting. Again, thanks for your work on Shadowbox.

Status: Fixed » Closed (fixed)

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

drupalok’s picture

Issue summary: View changes

same here. jquery 1.5 -> auto image handling working (adding rel)
1.7 not working
but i am using module 7.3 rc2

  • Commit c4fc33a on 7.x-4.x, 8.x-1.x:
    Issue #1879176 by manfer: fixed settings not working
    
drupalok’s picture

updating the shadowbox library (not the drupal module) and using stand-alone version (without jquery adapter) solves my problems.