5
<title>Modal with Non-Modal Test Page</title>
7
<body class="yui3-skin-sam">
10
<div class="yui3-widget-bd">Modal Panel</div>
14
<div class="yui3-widget-bd">Regular Panel</div>
17
<button type="button" id="btnModal">Show Modal</button>
18
<button type="button" id="btnRegular">Show Regular</button>
20
<script src="../../../../build/yui/yui.js"></script>
22
YUI({filter: 'raw'}).use('panel', function (Y) {
24
var pnlModal = new Y.Panel({
25
srcNode : '#pnlModal',
33
var pnlRegular = new Y.Panel({
34
srcNode : '#pnlRegular',
41
Y.one("#btnModal").on("click", function () {
45
Y.one("#btnRegular").on("click", function () {