Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter agis.apostolopoulos

    (@agisapostolopoulos)

    reposting my code…

    class=”fancybox iframe”

    class=”fancybox iframe{width:800,height:600}”

    Hi, there are several things going wrong at once:

    1. with my plugin, you need class=”fancybox-iframe” (not fancybox-frame; notice the missing i)
    2. your theme has the fancybox script already included, it is incompatible with my plugin (but might be made compatible)
    3. some other plugin (?) is loading thickbox as well, which might cause conflict with fancybox
    4. you need to put a space between the main class name and the metadata class="fancybox-iframe {width:800,height:600}"
    5. the link you are using has an onclick event that might be interfering:
    <a class="fancybox iframe{width:800,height:600}" href="https://www.phasma.com" onclick="javascript:_gaq.push(['_trackEvent','outbound-article','https://www.phasma.com']);">+</a>

    I suspect that onclick event comes from the Google Analytics plugin. You might get rid of it by unchecking the outbound link tracking option…

    These are just the first issues I notice looking at your site source but I have no idea which one(s) is (are) the actual cause…

    But you can be sure that #2 (the theme including FancyBox for a second time in the footer) is sure to cause issues…

    WP 3.1.2, twenty eleven template

    I have a resize problem as well. I have a text widget in my sidebar that contains the following:

    <a class="fancybox-iframe {width:600,height:500}" href="path-to-external-html-file">HERE</a>

    I always get a “large” iframe. I do use easy fancybox elsewhere on the site for images, videos, and an external php page. They all fit fine in the resulting fancybox iframe and are different sizes, naturally. But this one is a problem!

    I’m loading a page with the jquery jdigiclock module.

    It loads fine and works great, it is just the iframe that is so large!

    ssalter, do you have a link?

    Hi RavanH, I just embedded the page I wanted to include with the pageview plugin. It is fine. A fancybox popup would have been nice but this works. Thanks though!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Easy FancyBox] fancy box iframe window size problem.’ is closed to new replies.