Answer the question
In order to leave comments, you need to log in
How to close fancybox window when clicking in its area?
There is a popup
// Покажем всплывающее окно
if (!$.cookie('was')) {
$(document).ready(function() {
setTimeout('$.fancybox.open({type: "image", href: "image/data/banner_skidka_seychas.jpg"})', 3000)
});
}
Answer the question
In order to leave comments, you need to log in
try like this
$(' #id элемента ').click(function(){
$.fancybox.close();
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question