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

Could you please provide more source code?
Its all ok on our side.


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

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