I was using Context Menu ,my html document structured as follows:
(main html)
BtMenu=new dhtmlXContextMenuObject(‘120’,0,“pup up menu”);
(second html)
< Button onclick=" BtMenu.openAt(x,y);" > (three html)
Context Menu object can be created in top level document. when I click the Button, the Context Menu will pop up. But if I did not click on the Context Menu, the Context Menu will continue show there, Unless click on the main html. So I hope the Context Menu can shut down automatically��just like the ��http://dhtmlx.com�� menu . How can I set a timer(e.g. 1 second) when Context Menu pop up , the mouse was moved out from the Context Menu or button , the Context Menu will auto close? Thanks!