jquery fancybox - prevent close on click outside of fancybox

后端 未结 15 1027
独厮守ぢ
独厮守ぢ 2020-12-16 18:15

I\'m using the Fancybox plugin for my modal windows. It seems like no matter what options I use I can\'t prevent the fancybox modal window from closing when the user clicks

15条回答
  •  忘掉有多难
    2020-12-16 18:37

    Just add following line to your function, you do not have to change anything in jquery.fancybox-1.2.6.js

    callbackOnStart : function() {$("#fancy_overlay").bind("click","null");},
    

提交回复
热议问题