| Sample: dhtmlxWindows | Attaching dhtmlxEditor | dhtmlxWindows main page |

    <head>
        <!-- attaching a dhtmlxEditor -->
        <script src="../../../dhtmlxEditor/codebase/dhtmlxeditor.js"></script>
        <link rel="stylesheet" type="text/css" href="../../../dhtmlxEditor/codebase/skins/dhtmlxeditor_dhx_blue.css">
    </head>

    <script>
        var dhxWins = new dhtmlXWindows();
        ...
        var w1 = dhxWins.createWindow("w1", ...);
        // attaching an editor
        var dhxEditor = w1.attachEditor();</script>