Categories | Question details Back To List | ||
attachmenu returning null I'm trying to attach a menu to a layout and the attachMenu function is returning a null. I've included dhtlmx.js (V2.0). If I create the menu object with the new operator (see below) the menu is created successfully. Any help would be appreciated. var menu = dhxLayout.attachMenu(); //menu = new dhtmlXMenuObject("LayoutContainer"); alert (menu); Regards, Phil Answer posted by Support on Dec 11, 2008 03:14 Could you please provide more source code? Its all ok on our side. Answer posted by Phil on Dec 11, 2008 11:23 Looks like I was missing or had the incorrent "includes". What is included in dhtlmx.com? I was assuming it was everything I needed. Regards, Phil Answer posted by Support on Dec 12, 2008 01:25 dhtmlxlayout.css dhtmlxlayout_dhx_blue.css dhtmlxwindows.css dhtmlxwindows_dhx_blue.css dhtmlxmenu_dhx_blue.css dhtmlxcommon.js dhtmlxlayout.js dhtmlxwindows.js dhtmlxwindows_wmn.js dhtmlxmenu.js |