I am using fancyBox v2.0.4 ...
Well it should be simple, however it does not work in my case ... I just want to run the callback function when fancybox is closed ...
$('a#stpa_announcement_details_open').fancybox({ 'onCleanup': function() { alert('test') }, 'hideOnContentClick': true });
does not work
$('a#stpa_announcement_details_open').fancybox({ 'onClosed': function() { alert('test') }, 'hideOnContentClick': true });
does not work
source share