The HTML code for this window
<div id="myWindow" windowProperties="title:This is my window,resizable:true,closable:true,dragable:true,cookieName:myWindowCookie1,xPos:300,yPos:400,minWidth:350,minHeight:150,activeTabId:windowContent1"> <div id="windowContent1" class="DHTMLSuite_windowContent" tabProperties="tabTitle:Welcome"> This is my first window. </div> <div id="windowContent2" class="DHTMLSuite_windowContent" tabProperties="contentUrl:includes/article4.html,tabTitle:Second tab,active=1"> </div> <div id="windowContent3" class="DHTMLSuite_windowContent" tabProperties="contentUrl:includes/article5.html,tabTitle:Third tab"> </div> </div>
The Javascript code for a window:
<script type="text/javascript"> var windowModel = new DHTMLSuite.windowModel(); windowModel.createWindowModelFromMarkUp('myWindow'); var myWindow = new DHTMLSuite.windowWidget(); myWindow.addWindowModel(windowModel); myWindow.init(); myWindow.setStatusBarText('This is some text'); </script>