Required library edition:
Required library file: dhtmlxmenu.js
adds a contextual zone to a contextual menu
any html object can be used as context zone for menu
<body> <div id="myMenu"> </div> </body>
adding context zone to menu
var menu = new dhtmlXMenuObject(); menu.renderAsContextMenu(); // adding context zone menu.addContextZone("myMenu");