Skip to content

Instantly share code, notes, and snippets.

@ericf
Created January 6, 2010 06:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ericf/270073 to your computer and use it in GitHub Desktop.
Save ericf/270073 to your computer and use it in GitHub Desktop.
<!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