fancybox iframe维度 [英] fancybox iframe dimension
本文介绍了fancybox iframe维度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在fancybox主页( http://fancybox.net/home )中有一个示例打开iFrame标注为屏幕的75%。
In the fancybox homepage (http://fancybox.net/home) there is an example that opens an iFrame dimensioned as the 75% of the screen.
我无法通过修改.js文件的宽度和高度属性来获取它,如网站上所述。
I can't get it by modifying the width and height properties on the .js file as described on the site.
推荐答案
你应该试试这个:
$('iframeLink').fancybox({
'width':300,
'height':200,
'type':'iframe',
'autoScale':'false'
});
这篇关于fancybox iframe维度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文