when fancyBox is closed, another div should fadeIn [solved]
Posted: Sat 8. Mar 2014, 10:46
Hi
I want to write a function that detects when the fancyBox is closed and then fades-in a div container with the id "xyz".
I tried this, but it doesn't work. Can anybody help?
$(document).ready(function(){
$(window).bind("beforeunload",
function() {
$("div#xyz").fadeIn("slow");
});
});
thanks a lot
macangelo
I want to write a function that detects when the fancyBox is closed and then fades-in a div container with the id "xyz".
I tried this, but it doesn't work. Can anybody help?
$(document).ready(function(){
$(window).bind("beforeunload",
function() {
$("div#xyz").fadeIn("slow");
});
});
thanks a lot
macangelo