Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Maggie on May 19, 2009 13:04
open dhtmlx forum
Dhtmlx Vertical Menu

Hi,

I used DHTMLX vertical menu as the main menu in my web applicaiton. It worked great!

Now I looked at your documentation for ver 2.1. I couldn't find anything related to vertical menu. Is this still supported in 2.1?

Thanks,
Maggie
Answer posted by Alex (support) on May 20, 2009 06:34
Hello,
unfortunately, menu 2.1 doesn't support vertical menu.
But there is context menu, using following approach you can try to show context menu in a certain position:
menu = new dhtmlXMenuObject(null);
menu.setImagePath(....);
menu.setIconsPath(...);
menu.renderAsContextMenu();
menu.contextAutoHide = false; /*disables automatic hiding*/
menu.loadXML("dhtmlxmenu.xml",function(){
        menu._showContextMenu(x,y); /*shows context menu in (x,y) position*/
});