Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Stacy on Jul 11, 2009 11:03
open dhtmlx forum
Window Error

I was wondering if you could help me. I keep on getting this error:"header_height is null or not an object" when i pull up my HTA application. In the application I am currently using the dhtmlxWindows object; also I am also having trouble getting the skin to show. Below is code pertaining to the question, I'm sure all of it is correct. Any help provided would be greatly appreciated.

Sincerely,
Stacy

P.S. Thank you for your time


<HTML>
<HEAD>
<TITLE></TITLE>
<META http-equiv=Content-Type content="text/html; charset=utf-8"></HEAD>
<hta:application id="grds" applicationName="GRID" application="yes" border="none" caption="no" showInTaskBar="yes" singleInstance="yes" systemMenu="yes" windowState="maximize"></hta:application>
<META NAME="GENERATOR" Content="Microsoft Visual Studio">
<!-- CSS FILES -->
<link rel="stylesheet" type="text/css" href="codebase/skins/dhtmlxmenu_clear_green.css">
<link rel="stylesheet" type="text/css" href="codebase/dhtmlxwindows.css">

<!-- NECESSARY FILES -->
<SCRIPT src="codebase/dhtmlxcommon.js"></SCRIPT>
<SCRIPT src="codebase/dhtmlxwindows.js"></SCRIPT>

<script type="text/javascript">
function doOnLoad()
{
var dhxWins = new dhtmlXWindows();
dhxWins.createWindow("gridWin",0,0,1025,1025);
dhxWins.setSkin("dhtmlxmenu_clear_green"); // Set skin
win.setText("G.R.I.D");                          // Set header text

}
</script>
</head>
<body onload="doOnLoad();" scroll="no">
<div id="gridWin">
</div>
</BODY>
</HTML>
Answer posted by Alex (support) on Jul 13, 2009 00:34

Hello, 

please, take a look at the windows samples dhtmlxWindows/samples/init/. Possibly they will help to resolve the issues.

If the problems persist, please provide the sample that allows to re-create them