DHTMLX Docs & Samples Explorer

Object API Init

Source
<link rel="stylesheet" type="text/css" href="../../codebase/skins/dhtmlxmenu_dhx_skyblue.css">
<script src="../../codebase/dhtmlxcommon.js"></script>
<script src="../../codebase/dhtmlxmenu.js"></script>
 
<div style="height: 250px;"><div id="menuObj"></div></div>
<script>
var menu;
function initMenu() {
    var menuData = {
        parent: "menuObj",
        icon_path: "../common/imgs/",
        xml: "../common/dhxmenu.xml";
    };
    menu = new dhtmlXMenuObject(menuData);
}
</script>