Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by PongSiew on Jul 06, 2007 12:19
open dhtmlx forum
I was using ContectMenu, when I right click the ContextMenu will show/pop up. But if I did not click on the CotextMenu, the CotextMenu will continue show there. How can I set a timer(eg 5 second) when ContextMenu show/pop up and no response within 5 second, the ContextMenu will auto close? Thanks!


Answer posted on Jul 07, 2007 17:51
Context menu mimic behavior of window's context menu, and doesn't support such feature.
But it can be added with relative small code modification
   
The menu has two inner methods:
            _onItemOut
            _onItemOver
both located in dhtmlxMenu.js, lines 1270-1290. You can add custom code
which starts 3sec timer in _onItemOut and drop it in _onItemOver. In such
case timer will fire in 3sec after mouse was moved out from menu.


Answer posted by radyno (Support) on Dec 05, 2014 06:53

If you haven't found the needed information there and still looking for a solution, you will find the additional help checking autocomplete javascript and room booking calendar.