Created
November 6, 2012 16:48
-
-
Save wrongkitchen/4025947 to your computer and use it in GitHub Desktop.
Javascript: Fancybox Ajax
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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