If you want to carry out window-based initialization - make the following steps:
1. Create a dhtmlxWindows object:
var dhxWins = new dhtmlXWindows(); var layoutWin = dhxWins.createWindow("w1", 20, 20, 600, 400);
The following parameters should be passed to dhxWins.createWindow():
2. Add the following code to pass a window object into the layout constructor.
var dhxLayout = new dhtmlXLayoutObject(layoutWin, "3L", "dhx_black");