Hi
I am working onDHTMLX tree/ menu
I got the following error
dhtmlXMenuBarObject is not defined
dhtmlXContextMenuObject(“120”, 0, “Demo Menu”, undefined)dhtmlXMenuBar_cp… (line 8)
loadTree()testDhtmlx.jsp (line 73)
onload(load )testDhtmlx.jsp (line 1)
[Break on this error] this.menu=new dhtmlXMenuBarObject(document.body,width,height,"",1,gfxPath,https.
my jsp page is
<%@ page language=“java” import=“java.util." pageEncoding=“ISO-8859-1”%>
Tree Test
<!— update Size —>
<div id=“a_tabbar”
class=“dhtmlxTabBar”
tabstyle=“scbr”
tabheight=“28”
imgpath="…/imgs/"
style=“width: 400px; height: 100%;”
mode=“left”
offset=“3”
oninit=“a_tabbar.setTabActive(type+‘tab’)”
select=“doctab”>
Thanks
To prevent problem, just reorder JS files as
I tried reordereing js files in the way you have metioned but I got new error
as followsthis.topNod.style has no properties
setOnShowHandler()dhtmlXProtobar.js (line 9)
loadTree()testDhtmlx.jsp (line 68)
function dhtmlXProtobarObject(){return this};dhtmlXProtobarObject.prototype.set…
Thanks
Also I got this error
this.parentObject has no properties
_createSelf()dhtmlxtree.js (line 832)
loadTreeSmpl()testDhtmlx.jsp (line 118)
this.parentObject.appendChild(div);