WordPress.org

Ready to get started?Download WordPress

Forums

Easy FancyBox
[resolved] Easy fancybox iframe not loading on page (6 posts)

  1. thepossibilitiesgroup
    Member
    Posted 2 years ago #

    I installed easy fancybox so I could embed a timetrade appointment widget as a pop up iframe.

    Here is the code I put up: (I am omitting the actual link and replacing the end with *****)

    <img src="http://thepossibilitiesgroup.com/dev/wp-content/uploads/2012/04/schedule-button.jpg" alt="" title="Click to Schedule" width="207" height="59" class="alignnone size-full wp-image-114" />

    Here is the site link: http://thepossibilitiesgroup.com/dev/contact/

    I think it might be because the template is not allowing it to fit properly so it doesn't even load. Or maybe the image isn't linked properly.

    Please help!

    http://wordpress.org/extend/plugins/easy-fancybox/

  2. thepossibilitiesgroup
    Member
    Posted 2 years ago #

    The first part of the code includes <a href="my link" id="fancybox" class="fancybox-iframe "></a>

    [Moderator Note: Please post code or markup snippets between backticks or use the code button.]

  3. RavanH
    Member
    Plugin Author

    Posted 2 years ago #

    You have the following line, probably hardcoded, in your footer.php:

    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>

    This results in the jQuery library being loaded twice. Please remove that line and you'll see it works just fine :)

  4. BobKincaid
    Member
    Posted 2 years ago #

    I'm having a similar problem. I'm in the process of building this site still, but if you click on the link below the first link on the page is what I have linked to the fancy box. I'm currently using the "-" version because if I use the space the frame isn't large enough. But with using the dash it's not loading. Was hoping you had a suggestion.

    http://bobkincaid.org/maui-activities/

  5. RavanH
    Member
    Plugin Author

    Posted 2 years ago #

    BobKincaid, your case is different. Your theme as FancyBox already integrated (hard-coded, I suspect) and you cannot run two instances of the fancybox.js script together. Furthermore the easing.js script is loaded three times... You'll either have to hack your theme or remove my plugin, sorry.

  6. thepossibilitiesgroup
    Member
    Posted 2 years ago #

    Thanks RavanH, it worked!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic