Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Ajeytaa on Jun 09, 2009 07:43
open dhtmlx forum
Right Clicking dhtlxmenubar

When i right click on a menu bar option, the page gets navigated to the concerned page. However this should not happen, navigation should be allowed only on a left click

Please suggest wat to do.Thnx

I am using the following
var aMenuBar=new dhtmlXMenuBarObject('busstyle','99%',24,"");
aMenuBar.setOnClickHandler(onButtonClick);
Answer posted by Alex (support) on Jun 09, 2009 08:47

Hello, 

please, try to use attached file instead of the original. In this case the onClick event handler won't be called when item is right clicked.

Attachments (1)