【发布时间】:2011-12-10 10:20:06
【问题描述】:
我正在使用 Fancybox 1.3.4 和 jQuery 1.6.2
当我调用以下fancybox 函数在iframe 中加载html 页面时,一切正常,并且没有错误:
$.fancybox({
'width' : '75%',
'height' : '75%',
'autoScale' : false,
'transitionIn' : 'none',
'transitionOut' : 'none',
'type' : 'iframe',
'href' : 'search.htm'
});
当我添加 showCloseButton 选项时,一切正常,并且没有错误 BUT 仍然显示关闭按钮:
$.fancybox({
'width' : '75%',
'height' : '75%',
'autoScale' : false,
'transitionIn' : 'none',
'transitionOut' : 'none',
'type' : 'iframe',
'href' : 'search.htm',
'showCloseButton' : 'false'
});
我怎样才能摆脱角落盒子?
【问题讨论】:
标签: jquery jquery-plugins user-interface iframe fancybox