Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #978
    Jonathan Eggers
    Participant

    I’m a big fan of responsive lightbox since it’s devoid of the “bloat” commonly associated with wordpress plugins.

    I updated recently and everything works well except I can’t give the “FancyBox” option a go. Looking at the front.js code, it seems there’s an “Uncaught Type Error” according to Chrome on line 36. Perhaps this could be the issue. I only use a social graph plugin beside this one and the other two script options work fine, so I don’t think it’s something on my end.

    Let me know what you all think. Thanks and keep it up.

    #989
    Bartosz
    Keymaster

    Thanks Jonathan, we’ll look at it soon.

    #1025
    Bartosz
    Keymaster

    Can you post a link to your site? I think it might not be the FancyBox, but some script on your site that’s causing that.

    #1026
    Jonathan Eggers
    Participant

    Sure.

    http://celebrityconnected.net/gallery/

    I have FancyBox enabled now. My custom scripts are embedded in the footer.

    Thank you for taking the time.

    #1027
    Jonathan Eggers
    Participant

    I figured it out.

    According to this Stackoverflow article, FancyBox has an issue with newer versions of jQuery. I rolled back to version 1.8.3 to test and FancyBox works beautifully now. There’s also some code in that article to patch jquery.fancybox-1.3.4.js to work with newer versions of jQuery.

    Thanks for taking the time to respond.

    #1028
    Bartosz
    Keymaster

    Jonathan, we did our own modification for FancyBox to make it work under recent versions of jQuery, and it worked in our tests.

    But htere’s something I see on your site:

    Error: TypeError: document.getElementById(…) is null
    Source: http://celebrityconnected.net/wp-content/themes/celebrityconnected/js/instafeed.js
    Line: 2

    Are you deregistering the jquery version shipping with WP?

    #1029
    Jonathan Eggers
    Participant

    I was deregistering WordPress’s jQuery and registering Google’s jQuery CDN instead, but now I’m letting wordpress use its own and everything’s working fine. Don’t quite understand why that was the issue. Thanks!

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.