Displaying SubMenu

I use dhtmlXMenuBarObject for creating a vertical menu and i would like to create submenus for each of the main menu.



Can i use a div element object for creating submenus.



Example code :



































            





Span Actions 1





Span Actions 2









You need not any additional HTML tags, submenu can be created programmatically without any predefined HTML elements.
dhtmlx.com/docs/products/dhtmlxM … 3464351000

var subMenu = new dhtmlXMenuBarPanelObject(aMenuBar,item,false,120,true);