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,"");



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.

dhtmlxmenubar.zip (10.2 KB)