<link rel="stylesheet" type="text/css" href="../../codebase/dhtmlxwindows.css">
<link rel="stylesheet" type="text/css" href="../../codebase/skins/dhtmlxwindows_dhx_skyblue.css">
<script src="../../codebase/dhtmlxcommon.js"></script>
<script src="../../codebase/dhtmlxwindows.js"></script>
<script src="../../../dhtmlxMenu/codebase/dhtmlxmenu.js"></script>
<link rel="stylesheet" type="text/css" href="../../../dhtmlxMenu/codebase/skins/dhtmlxmenu_dhx_skyblue.css">
<script src="../../../dhtmlxToolbar/codebase/dhtmlxtoolbar.js"></script>
<link rel="stylesheet" type="text/css" href="../../../dhtmlxToolbar/codebase/skins/dhtmlxtoolbar_dhx_skyblue.css">
<script src="../../codebase/dhtmlxcontainer.js"></script>
<div>
<table>
<tr>
<td>dhtmlxMenu</td>
<td><input type="button" value="show" onclick="dhxWins.window('w1').showMenu();"></td>
<td><input type="button" value="hide" onclick="dhxWins.window('w1').hideMenu();"></td>
</tr>
<tr>
<td>dhtmlxToolbar</td>
<td><input type="button" value="show" onclick="dhxWins.window('w1').showToolbar();"></td>
<td><input type="button" value="hide" onclick="dhxWins.window('w1').hideToolbar();"></td>
</tr>
<tr>
<td>StatusBar</td>
<td><input type="button" value="show" onclick="dhxWins.window('w1').showStatusBar();"></td>
<td><input type="button" value="hide" onclick="dhxWins.window('w1').hideStatusBar();"></td>
</tr>
</table>
</div>
<div id="winVP" style="position: relative; height: 500px; border: #cecece 1px solid; margin: 10px;"></div>
<script>var dhxWins;
function doOnLoad() {
dhxWins = new dhtmlXWindows();
dhxWins.enableAutoViewport(false);
dhxWins.attachViewportTo("winVP");
dhxWins.setImagePath("../../codebase/imgs/");
var w1 = dhxWins.createWindow("w1", 20, 30, 400, 350);
w1.attachURL("../common/attach_url_ajax_inner.html", true);
var sb = w1.attachStatusBar();
sb.setText("Simple Status Bar");
var menu = w1.attachMenu();
menu.setImagePath("../../../dhtmlxMenu/codebase/imgs/");
menu.setIconsPath("../../../dhtmlxMenu/samples/common/imgs/");
menu.loadXML("../../../dhtmlxMenu/samples/common/dhxmenu.xml?" + new Date().getTime());
var toolbar = w1.attachToolbar();
toolbar.setIconsPath("../../../dhtmlxToolbar/samples/common/imgs/");
toolbar.loadXML("../../../dhtmlxToolbar/samples/common/dhxtoolbar_button.xml?" + new Date().getTime());
}
</script>