jQuery - Fancybox: But I don't want scrollbars!

前端 未结 24 2027
醉话见心
醉话见心 2020-12-15 17:37

I am using jQuery Fancybox for a popup registration form here

I would like the form to come up at the size of 450px by 700px but no matter what I set the height and

24条回答
  •  情书的邮戳
    2020-12-15 17:39

    I had the same problem with fancybox and an iframe, googled for a solution and ended up here. The overflow: hidden did not work for me, however I found out that fancybox allows you to set the option for the iframe scrolling (equivalent to setting "scrolling=no" attribute on the iframe), which fixes the problem in IE7 in a more graceful manner:

    $.fancybox({
        'type'        : 'iframe',
        'scrolling'   : 'no',
    ... and the rest of the parameters.
    

提交回复
热议问题