1
我在页面加载时打开了fancybox,但每当我点击fancybox之外,它都已关闭。我想防止这一点,我已经使用模态属性,但它不工作。这里是我的代码中使用的fancybox v2.1.4fancybox模式属性不起作用
$("#registration").fancybox({
'width': '40%',
'height': '40%',
'autoScale': true,
'transitionIn': 'fade',
'transitionOut': 'fade',
'type': 'iframe',
'showCloseButton' : false,
'modal': true
});