Skip to content

Instantly share code, notes, and snippets.

@rdougan
Created April 2, 2013 12:16
Show Gist options
  • Save rdougan/5291779 to your computer and use it in GitHub Desktop.
Save rdougan/5291779 to your computer and use it in GitHub Desktop.
$('.fancybox').click(function(e) {
e.preventDefault();
e.stopPropagation();
$.fancybox($(this));
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment