Skip to content

Instantly share code, notes, and snippets.

@wrongkitchen
Created November 6, 2012 16:48
Show Gist options
  • Save wrongkitchen/4025947 to your computer and use it in GitHub Desktop.
Save wrongkitchen/4025947 to your computer and use it in GitHub Desktop.
Javascript: Fancybox Ajax
var fancyboxAjax = function(){
$.fancybox({
'modal' : true,
'padding' : 0,
'margin' : 0,
'width' : 972,
'height' : 646,
'autoScale' : true,
'centerOnScroll' : true,
'overlayOpacity' : 0.9,
'overlayColor' : '#000',
'autoDimensions' : false,
'href' : "http://www.google.com"
});
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment