Layout not coming up showing error in dhtmlxlayout.js?

Hi,

I am new to dhtmlx and I find the product easy and very useful. I am new to web development itself so maybe this is my fault. I am trying to make a menu enabled dhtmlx layout. but it gives me a blank page. In firefox it does not show any error but in IE 8 it pulls up the error listed in the attached zip (File: ieerror.txt)

I am trying to follow the demo code in the website so not sure where I am going wrong :open_mouth: . Can you guys atleast point out where is the issue?

Full page code is attached with error message in text file.

Thank you for your help :mrgreen:
error.zip (21.3 KB)

Hi,

the provided package doesn’t contain code with layout and meny initialization.

The working sample you may find in layout package:

dhtmlxLayout/samples/04_components/08_menu.html

I have used almost the same initialization used in sample(infact the code was derived from it).

      dhxLayout = new dhtmlXLayoutObject("parentId", "2E","dhx_skyblue");
	   dhxMenu= dhxLayout.cells("a").attachMenu();

		  dhxMenu.loadXML("include/menu.xml");
		  dhxLayout.cells("b").hideHeader();
		  dhxLayout.cells("a").attachURL("dashboard.html");
		  dhxLayout.cells("a").setText("Dashboard");

		  dhxLayout.cells("a").progressOn();
		  dhxLayout.cells("b").progressOn();
		  dhxMenu.attachEvent("onClick", function(id, zoneId, casState){
			mev(id);
		  }); 

So I’m not sure what additional initialization needs to be done. I disabled the menu functions and tried but still no good :cry:

All js libaries from the provided sample are empty. Make sure sure that you use correct dhtmlx libraries.

Here is the example that works locally

[code]

[/code]