当用户单击外部时,我试图阻止 fancybox 窗口关闭 花哨的盒子窗口。我在 IE7 上使用 fancybox 版本:1.3.1,我尝试了以下方法,但尚未成功。非常感谢任何帮助。
jquery fancybox - prevent close on click outside of fancybox
我的代码:
<script type="text/javascript">
$(document).ready(function() {
$("a.fancybox").fancybox({
'width' : '68%',
'height' : '80%',
'autoScale' : true,
'transitionIn' : 'none',
'transitionOut' : 'none',
'type' : 'iframe'
});
});
</script>
谢谢
最佳答案
关于javascript - fancybox 防止在窗口外部关闭点击,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3778656/