Creating windows requires to create two objects
var wins = new dhtmlXWindows() wins.createWindow(id, x, y, width, height);
where
var wins = new dhtmlXWindows() wins.createWindow("about", 50, 50, 300, 200);
Starting from 2.5 version, windows can be initialized by object notation
var wins = new dhtmlXWindows(); win.createWindow({ some_option1:some_value_1, some_option2:some_value_2, ... some_optionN:some_value_N, });
var wins = new dhtmlXWindows({ image_path:"codebase/imgs/", skin:"dhx_blue" }); wins.createWindow({ id:"about", width:300, height:200, center:true, onClose:function(){ alert("I'm closed"); } });