Support » Plugin: FancyBox » [Plugin: FancyBox] setting fancybox iframe dimensions

Viewing 1 replies (of 1 total)
  • 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.