Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Don Dickinson on May 06, 2008 12:06
open dhtmlx forum
Which button is clicked on menu

Is there a way to determine which mouse button is clicked when clicking on a menu? i want a different action to be taken when the user right clicks on a menu in dhtmlxmenu.

tia
don
Answer posted by Support on May 07, 2008 02:33
The dhtmlxmenu doesn't differ the button of mouse used for click event, it will generate the same event.
Because of timing issues it not possible to fetch event object when custom code attached to onclick event executed.
The only way to achieve necessary functionality - code modification ( if necessary I can suggest which code need to be modified )