Skip to content

Instantly share code, notes, and snippets.

@SeanHayes
Created July 6, 2012 22:50
Show Gist options
  • Save SeanHayes/3063179 to your computer and use it in GitHub Desktop.
Save SeanHayes/3063179 to your computer and use it in GitHub Desktop.
Stop Flash Content from Overlapping Fancybox
$('.fancybox').fancybox({
onClosed: function(){
$('iframe').css('visibility', '');
},
onStart: function(){
$('iframe').css('visibility', 'hidden');
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment