0
我想在內容加載後更改fancybox的高度。我嘗試使用$ .fancybox.update(),但它的工作量。我用它在加載到的fancybox。無法重新調整大小fancybox 2
這裏是我的初始化code.Btw我使用的fancybox 2.0.4
$(document).ready(function() {
$(".modal").fancybox({
maxWidth :500,
maxHeight : 600,
minWidth :500,
minHeight : 200,
fitToView : false,
autoSize : true,
type : 'iframe',
padding:1,
modal:true,
helpers: {
title:null
}
});
});
任何建議,使其工作?