The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Easy FancyBox
jQuery Easing error with pdfs in Chrome (5 posts)

  1. wotto
    Posted 2 years ago #

    hello, i have encountered an error that only happens in Chrome. When i click a pdf link the fancybox opens up and shows the print/zoom/save etc. buttons and the scrolling all works fine. However, the title and the X button to close out do not show up. Furthermore when i press the ESC button nothing happens so there is no way to close the fancybox after it is opened. I continue to get this error

    Uncaught TypeError: undefined is not a function

    which is occurring in the jquery.easing.pack.js file. When i open in firefox everything works fine, but chrome continues to give those errors. I tried to turn off auto-detect and add fancybox-pdf class manually but it still didnt work. I checked for accidentally including the same script twice, but jquery, jquery fancybox, and jquery easing are all only included once and are included in the correct order. I also get the Chrome error as soon as the page loads

    event.returnValue is deprecated. Please use the standard event.preventDefault() instead.

    coming from jquery.js

    any help would be greatly appreciated..


  2. wotto
    Posted 2 years ago #

    just an update: I tried while logged out of WordPress and everything worked fine. That would point to some issue with the admin scripts that are being included. I checked and it seems that whether im logged in or not, the same scripts are being included so im kind of stumped...

  3. RavanH
    Plugin Author

    Posted 2 years ago #

    Hi, can you share a link to your site?

  4. wotto
    Posted 2 years ago #


    if you click the big links halfway down the page, it will toggle article names. if you click the article names it will show a description and some other meta-info, if you click the Click Here to View Full Article it will open the fancybox. Like i said though, when im logged out of WordPress it works fine but when im logged in as admin, is when it errors, so you will probably see it working fine...

    i have been experiencing similar issues with jQuery easing and Chrome on other sites for Sliders/Slideshows etc. So im starting to think its something conflicting between the easing plugin and Chrome, and not necessarily anything with the Easy FancyBox plugin..

  5. RavanH
    Plugin Author

    Posted 2 years ago #

    Hmmm... I'm not getting any errors either.

    Have you tried clearing your browsers cache?

    Or you could try disabling all other plugins or even switch to the default theme for a moment to see if that 'solves' the issue. If it does, you'll know it's a conflict with another plugin or with the theme. If it does not, then I'm not sure what to tell you. I've never seen such different behavior between logged in or not logged in.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic