| Sample: dhtmlxMenu | Vertical layout | dhtmlxMenu main page |

Classic
Alpha
Popup | Betta

    <script>
        aMenuBar=new dhtmlXMenuBarObject('menu_zone',600,20,"Demo menu",0);
        aMenuBar.setOnClickHandler(onButtonClick);
        aMenuBar.setGfxPath("../../codebase/imgs/");
        aMenuBar.loadXML("_menu.xml")
        aMenuBar.showBar();

        aMenuBar2=new dhtmlXMenuBarObject('menu_zone2',600,20,"",0);
        aMenuBar2.setOnClickHandler(onButtonClick);
        aMenuBar2.setGfxPath("../../codebase/imgs/");
        aMenuBar2.loadXML("_menuH2.xml")
        aMenuBar2.showBar();

        aMenuBar3=new dhtmlXMenuBarObject('menu_zone3',120,200,"",1);
        aMenuBar3.setOnClickHandler(onButtonClick);
        aMenuBar3.setGfxPath("../../codebase/imgs/");
        aMenuBar3.loadXML("_menuV1.xml")
        aMenuBar3.showBar();

        aMenuBar4=new dhtmlXMenuBarObject('menu_zone4',120,200,"",1);
        aMenuBar4.setOnClickHandler(onButtonClick);
        aMenuBar4.setGfxPath("../../codebase/imgs/");
        aMenuBar4.loadXML("_menuV2.xml")
        aMenuBar4.showBar();</script>