DHTML Menu Positioning

Hi i have a sample html file which creates a DHTML menu on clicking a button. I have the following questions on this.



1) I want to display the DHTML popup menu ontop of the table rather than moving the table down. What property should be set. I tried putting z-index to 1 in the div element, but not working



2) Also the submenus float if i mention the div element positon to be relative. In my actual application i need to give it as relative in order for the proper position of popup menu.



Please help me to fix these



=========================================================================









    Building Menu with script

    

    

    

    

    



        


















ROW 1
ROW 2
ROW 3
ROW 4






There is separate object for context menu creation
dhtmlXContextMenuObject
dhtmlx.com/docs/products/dhtmlxM … 3643119000
which can be used in your case
Technically you can use common menu object as well, but you need to make it absolutly positioned in necessary place by your own styles ( applied to menu’s container )

>>2) Also the submenus float if i mention
If submenus can’t position self correctly, you can try to add next line to the menu’s init
menu.disableSmartPositioning(true);