Forums

Shadowbox JS
[resolved] Version 3.0.3.4 not working (17 posts)

  1. jnuts
    Member
    Posted 12 months ago #

    Pulling my hair out trying to the problem.

    Basically, shadow box will attempt to load (part of screen will go dark) but no image will load.

    I've tried it with multiple versions of shadowbox-js, different cache settings, multiple themes, local and remote images, confirmed header/footer.php settings... not sure what the problem is.

    at http://nuts.noetzel.net/

    the bottom horse image should activate using an external image

    the sig image activates using a locally stored imaged

    Based on the sig image, it looks like shadowbox is displaying behind the main theme, hiding the image display...any thoughts?

    http://wordpress.org/extend/plugins/shadowbox-js/

  2. jnuts
    Member
    Posted 12 months ago #

    More troubleshooting... this is a theme issue. Shadowbox works with default theme...can't get it to work on a few other themes : Delicate, Atahualpa, Gear

    Same issue on both IE8 and Chrome

  3. jnuts
    Member
    Posted 12 months ago #

    ...and found it.

    z-index on the themes was set to 1000 or so, higher than the shadowbox.css z-index. Pushed that one up to about 999999999999 ... now it shows. Painful to hunt that one down...

  4. TGsoft
    Member
    Posted 12 months ago #

    Hey jnuts,

    I have the same problem an use Atahualpa. Could you please describe where I must change the z-index?

    Thank you

  5. jnuts
    Member
    Posted 12 months ago #

    shadowbox-js/shadowbox/shadowbox.css

    #sb-container{position:fixed;margin:0;padding:0;top:0;left:0;z-index:9999999;text-align:left;visibility:hidden;display:none;}

    I think it should stay on top now....

  6. TGsoft
    Member
    Posted 12 months ago #

    I changed it on my testblog blog.tgsoft-hro.de, but it doesn't work.

    Do you have a solution idea?

  7. TGsoft
    Member
    Posted 12 months ago #

    I replaced the version 3.0.3.4 with the old Shadowbox JS version 3.0.3.2 and it works again.

    What I must do that the newest Shadowbox JS version work?

    Thank you

  8. Matt Martz
    Member
    Posted 12 months ago #

    @TGsoft: You must:

    1) Try upgrading and then selecting to revert to the defaults.
    2) Let me know if you have any plugins that are being used to manage your images
    3) Try the development version at http://downloads.wordpress.org/plugin/shadowbox-js.zip
    4) Configure 'Smart Loading' to false.
    5) Leave the broken version in place until I can look at it to see if I can determine the problem

    In that order.

  9. TGsoft
    Member
    Posted 12 months ago #

    @Matt Thank you for your support:

    1) Done, no result.
    2) Yes, unfortunately the not more supported myGallery-plugin, because I use the same plugins also in a another blog with a lot pictures. I'll it update after it works on my test blog.
    3) The development version is online.
    4) 'Smart Loading' is false.
    5) blog.tgsoft-hro.de

  10. Matt Martz
    Member
    Posted 12 months ago #

    Ok, pretty sure I figured it out. In 3.0.3.3 I added a CDATA block around the JS that goes into the footer. It is common, due to CDATA blocks being invalid JS, to comment them out. In this case I used // as the comment characters, you unfortunately, as well as others I am sure, are minifying your HTML content. This has the unintended side effect of causing all of the javascript in that block to get commented out, as it becomes a single line.

    I have just updated the development version, same link as previously mentioned, to use a comment block /* <![CDATA[ */ instead, so that the end of the comment is clearly defined and will not have any adverse effects when minified.

    Wait until this post is at least 30 minutes old and then download the development version, and give it a try. Let me know how it goes.

  11. Matt Martz
    Member
    Posted 12 months ago #

    By the way, what are you using to minify your HTML content?

  12. TGsoft
    Member
    Posted 12 months ago #

    @Matt THANK YOU very mutch. Now, I seems to work with the development version.

    What are I using to minify the HTML content? No idea. I think it is a function from the Atahualpa theme or could you mean the "wp-cache" plugin? Sorry, that I doesn't know it exakt.

  13. TGsoft
    Member
    Posted 12 months ago #

    @Matt Yes, Atahualpha has a CSS compression included.

  14. Madison91
    Member
    Posted 12 months ago #

    I had the same problem, shadow box returned to work after installing the version posted in this topic, thank you very much!

  15. Matt Martz
    Member
    Posted 12 months ago #

    @Madison91: if you would take the time to read through the previous posts you would have become aware that you need to upgrade to the development version. Download from http://downloads.wordpress.org/plugin/shadowbox-js.zip

    3.0.3.4 contains updates for nextgen, 3.0.3.5 will have fixes for your theme, but you can get those fixes in the dev version now.

  16. Madison91
    Member
    Posted 12 months ago #

    I edited my post, now all works fine, had to clean the cache to see things working. Once more thanks a lot for the attention!

  17. chisp
    Member
    Posted 7 months ago #

    I might be dumb!

    But i cant seem to sort this out myself.

    Running chisp.se on latest wordpress.

    Using Atahualpa theme.

    I just cant get shadowbox JS to work.
    Running 3.0.3.8

    Clicking on images wount get me shadowbox.
    It looks like it is gonna load, atleast for a sec.
    Then it goes to show the image on a regulare webpage.

    What have i missed?
    Is ther a atahualpa setting to adjust?

    would realy love to get this sorted out!

Reply

You must log in to post.

About this Plugin

About this Topic