Viewing 1 replies (of 1 total)
  • bsvikss

    (@svikss)

    This worked for me:

    <script type=”text/javascript”>
    jQuery(document).ready(function($) {
    $(“a.fancybox.iframe”).fancybox({
    ‘frameWidth’: 640,
    ‘frameHeight’: 360,
    });
    });
    </script>

    Put this in your header. Or below and your class would be fancybox iframe-vimeo

    <script type=”text/javascript”>
    jQuery(document).ready(function($) {
    $(“a.fancybox.iframe-vimeo”).fancybox({
    ‘frameWidth’: 640,
    ‘frameHeight’: 360,
    });
    });
    </script>

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: FancyBox] setting fancybox iframe dimensions’ is closed to new replies.