DHTMLX Docs & Samples Explorer

### Initialization from XML

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>

    <br>
    <script>var menu;
    function initMenu() {
        menu = new dhtmlXMenuObject("menuObj");
        menu.setIconsPath("../common/imgs/");
        menu.loadXML("../common/dhxmenu.xml?etc=" + new Date().getTime(), function() {
            // menu.addNewSeparator("file");
            });
    }</script>