开发者

Fancybox height issue

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜