Created
January 6, 2010 06:07
-
-
Save ericf/270073 to your computer and use it in GitHub Desktop.
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>test</title> | |
</head> | |
<body class="yui-skin-sam"> | |
<script type="text/javascript" src="http://yui.yahooapis.com/3.0.0/build/yui/yui-min.js"></script> | |
<script type="text/javascript" src="http://yui.yahooapis.com/gallery-2009.12.08-22/build/gallery-overlay-modal/gallery-overlay-modal-min.js"></script> | |
<script type="text/javascript"> | |
YUI().use('gallery-overlay-modal', function(Y){ | |
var alert = new Y.Overlay({ | |
bodyContent : '<p>Alert Message</p>', | |
plugins : [{ fn: Y.Plugin.OverlayModal }] | |
}).render(); | |
}); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment