dhtmlx windows maximising issue

Hi,

I am using the enterprise DHTMLX suite.



Problem: When I maximize a dhtmlx window by clicking on the maximize sign on top right, gives me a javascript error.



Line breaks at: p.style.height = win.h-s[“header_height”] + “px”;



Here When i debugged it, the value it was trying to assign was negative which i think is the problem.

Please help me in solving this issue.



Source Code:

var dhxWins = new dhtmlXWindows();

var stWid = screen.availWidth;

var stHeigh = screen.availHeight;

var win = dhxWins.createWindow(‘ITOD’, 0, 0, stWid, stHeigh);

dhxWins.setSkin(“dhx_blue”);

win.setText(“Incident by TOD”);

dhxWins.window(‘ITOD’).attachURL(“IncidentByTODRpt.aspx”);

dhxWins.window(‘ITOD’).setModal(true);

dhxWins.window(‘ITOD’).center();







Thanks

Raj

Hello,

Code sample is ok, could you please provide completed demo?
We cannot reproduce the bug using little code snapshot.
Also specify used browser.


Hi,



I am using IE6 for this.



Regards,



Raj

dhtmlx.com/docs/products/kb/inde … mal&q=8107