Skip to content

Instantly share code, notes, and snippets.

@ericf
Created October 13, 2009 16:53
Show Gist options
  • Save ericf/209363 to your computer and use it in GitHub Desktop.
Save ericf/209363 to your computer and use it in GitHub Desktop.
YUI().use('overlay', 'overlay-modal', function(Y){
var FancyOverlay = Y.Base.build('fancyoverlay', Y.Overlay, [Y.OverlayModal]);
var myFancyOverlay = new FancyOverlay({
modal : true,
mask : true,
centered : true,
width : 500
height : 300
}).render();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment