开发者

Fancybox height issue

开发者 https://www.devze.com 2023-01-01 22:51 出处:网络
I am using fancybox for loading a Huge form \"1300px\" height ( i know it is not something goo开发者_如何学JAVAd but the client wants it like this) the problem that it doesn`t cover the whole height i

I am using fancybox for loading a Huge form "1300px" height ( i know it is not something goo开发者_如何学JAVAd but the client wants it like this) the problem that it doesn`t cover the whole height i tried

autoDimensions

$.fancybox.resize

with no luck although other parts that uses fancybox is working without a problem so any tips will be great.

also i want to know how to load data (a div) from another HTML inside fancybox?


You should use {'autoDimensions' : false}

For loading data into fancybox use
$.fancybox({'width': 200, 
            'height': 200, 
            'autoDimensions' : false, 
            'content': $('div.class').html() 
});

Hope this is helpful.

0

精彩评论

暂无评论...
验证码 换一张
取 消