Sample: dhtmlxWindows Attaching dhtmlxLayout dhtmlxWindows main page
X
 
<head>
    <!-- attaching a dhtmlxLayout -->
    <script src="../../../dhtmlxLayout/codebase/dhtmlxlayout.js"></script>
    <link rel="stylesheet" type="text/css" href="../../../dhtmlxLayout/codebase/dhtmlxlayout.css">
    <link rel="stylesheet" type="text/css" href="../../../dhtmlxLayout/codebase/skins/dhtmlxlayout_dhx_blue.css">
</head>
 
<script>
 
    var dhxWins = new dhtmlXWindows();
    ...
    var w1 = dhxWins.createWindow("w1", ...);
    // attaching a dhtmlxLayout
    var dhxLayout = w1.attachLayout("3L");
</script>