Easy FancyBox
[resolved] FancyBox iframe not doing anything (4 posts)

  1. CraigFox
    Posted 4 years ago #

    I am new to WordPress, only a couple of weeks. I've been trying to get the FancyBox to load an iframe with no luck.
    Site: http://www.easycom.co
    Page: http://easycom.co/wp-content/plugins/easy-fancybox/fancybox/jquery.fancybox-1.3.4.pack.js?ver=1.3.4

    There are only two links in the page, both fancybox iframes. One of my own and another sample code from this site.

    I've checked the source code to see if the CSS and Script is there - it is. But when the hyperlink is activated, nothing happens.

    Please Help, I'd love the features this offers and would like to incorporate them into my site design.


  2. RavanH
    Plugin Author

    Posted 4 years ago #

    I'm sorry, the page link you gave is to the fancybox script instead fo the page with your examples... But looking at the source of your home page, I notice one of the jquery script files is loaded twice. Usually, this means trouble.

    In your case, it is the jQuery script 'Easing' - used for transitional effects - which is loaded in the header by the plugin WP UI. Could you test by disabling the plugin WP UI for a minute and see if the links work then?

    Else, give me the URL to your test page again and I'll have a closer look.

  3. CraigFox
    Posted 4 years ago #

    Sorry, I turned off the WP UI plugin, to no avail. It is still off.

    Here is the URL to my testing page:

  4. RavanH
    Plugin Author

    Posted 4 years ago #

    It seems the Fancybox script (or is it jQuery itself?) chokes on the fact that the link tag's rel attribute has two values. Change it to either rel='external' or rel='nofollow' and it should work ...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic