panel-skin-test.html revision eaee839afff6e24a5ba7277c5fdacd4eeba4253b
1980N/A<!DOCTYPE html>
1980N/A
1980N/A<head>
1980N/A<style>
1980N/A</style>
1980N/A<script type="text/javascript" src="/build/yui/yui-debug.js"></script>
1980N/A<link type="text/css" rel="stylesheet" href="/build/panel/assets/skins/night/panel.css" charset="utf-8">
1980N/A
1980N/A</head>
1980N/A
1980N/A<body class="yui3-skin-sam">
1980N/A <div class="yui3-skin-night">
1980N/A <div id="panel"></div>
1980N/A </div>
1980N/A
1980N/A<script type="text/javascript">
1980N/A
1980N/A YUI({filter:"raw"}).use('panel', function(Y) {
1980N/A
1980N/A var panel = new Y.Panel({
1980N/A bodyContent: '<p>Is this text white on white?</p><p>body CSS seems like mixture of yui3-skin-sam</p>',
1980N/A headerContent: 'Header CSS seems like yui3-skin-sam',
1980N/A width : 350,
1980N/A height : 400,
1980N/A zIndex : 5,
1980N/A centered : true,
1980N/A modal : true,
1980N/A visible : true,
1980N/A render : '#panel'
1980N/A });
1980N/A
1980N/A panel.addButton({
1980N/A value : 'Close',
1980N/A section: Y.WidgetStdMod.FOOTER,
action : function (e) {
e.preventDefault();
panel.hide();
}
});
});
</script>
</body>
</html>