84669 人學習
152542 人學習
20005 人學習
5487 人學習
7821 人學習
359900 人學習
3350 人學習
180660 人學習
48569 人學習
18603 人學習
40936 人學習
1549 人學習
1183 人學習
32909 人學習
项目中用的是frameset三框架页面
frameset
用到fancybox,一个弹框插件,但是很无奈,弹框的大小会受到frame大小的限制,如下图:
fancybox
frame
请问如何让fancybox跳出框架大小的限制,显示略小于整个页面的大小?
下图是fancybox的参数配置:
这种问题看下文档就解决啦。
width Default width for 'iframe' and 'swf' content. Also for 'inline', 'ajax' and 'html' if 'autoSize' is set to 'false'. Can be numeric or 'auto'. Number, String; Default value: 800height Default height for 'iframe' and 'swf' content. Also for 'inline', 'ajax' and 'html' if 'autoSize' is set to 'false'. Can be numeric or 'auto'
Number, String; Default value: 600文档意思就是如果在iframe内的话,可以将autosize设置为false,然后通过width和height设定大小。
iframe
autosize
false
width
height
这种问题看下文档就解决啦。
Number, String; Default value: 600
文档
意思就是如果在
iframe
内的话,可以将autosize
设置为false
,然后通过width
和height
设定大小。