• Resolved danrademacher

    (@danrademacher)


    We use Easy Fancybox for a couple of iframe popups as well as the usual images and whatnot.

    On this page: http://baynature.org/trail/briones-to-acalanes-ridge-top-hike/

    The “Get Directions” button below the map has been working great for a while, but since the upgrade a week ago, it’s ignoring the size params we have in our code.

    That popup is created with this code:

    var a = jQuery("<a></a>").
          attr("href", "http://embed.transitandtrails.org/embed/plan/location?arrive=true&lat=" + coordinates.latitude + "&lng=" + coordinates.longitude).
          attr("class", "fancybox iframe {width:380,height:540}");
    
        a.fancybox({
          hideOnContentClick:false,
          hideOnOverlayClick:false,
          autoScale:false
        }).trigger("click");

    I tried changing the class to “fancybox-iframe” but that didn’t help. Did the implementation of size parameters change? I can’t seem to find any documentation to that effect.

    Thanks for any advice!

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

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘iframe class ignoring height/width params since upgrade’ is closed to new replies.