Close fancybox with outside click when overlay is set to null
问题 I am using the fancybox 2.1.4 plugin. It works perfectly, but I have an issue. I want to set the overlay to null and I want to close the fancybox when the user clicks outside(!) the fancybox container. I have tried the following code, but it isn't working, since there's no overlay to click on. $(".fancy_gallery").fancybox.({ loop:false, padding:0, helpers:{ overlay:null, closeClick:true } }); So, how can I force fancybox to close, when I click outside of it? Because, right now I must click on