creating window at fixed x and y position..how to go for rel


Heres the sample code for creating window at fixed x and y position..how to go for relative position


 


var dhxWins= new dhtmlXWindows();


dhxWins.setSkin("dhx_blue");


//creates new window for login page control


var win = dhxWins.createWindow('ab', 420, 420, 400, 250);


//dhxWins.enableAutoViewport(true);


//dhxWins.window('ab').setIcon("./codebase/img/NorthgateIcon.png");


dhxWins.window('ab').clearIcon();


dhxWins.window('ab').denyResize();


dhxWins.window('ab').denyMove();


dhxWins.window('ab').button("close").hide();


dhxWins.window('ab').button("park").hide();


dhxWins.window('ab').button("minmax1").hide();


win.setText("Web EIMS: Login");


//win.keepInViewport(true);


dhxWins.window('ab').attachObject("id1");

What do you mean under relative position? Is it x% from left side and y% from top size?
For the moment windows support only absolute positioning.