Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Feb 20, 2009 04:00
open dhtmlx forum
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
Answer posted by Support on Feb 20, 2009 05:52
Hello,

Code sample is ok, could you please provide completed demo?
We cannot reproduce the bug using little code snapshot.
Also specify used browser.
Answer posted on Feb 23, 2009 01:05

Hi,

I am using IE6 for this.

Regards,

Raj

Answer posted by Support on Feb 23, 2009 06:26