View Full Version : right click - without invoking browser menu

12-09-2005, 04:52 PM
Hi all,

I just started to create a right click menu for my webpage. Basically when you right click I have it pop up a (previously) hidden div where the cursor is. This is fine, except how can i disable the normal browser right click menu that comes up. I know you can disable it by causing an alert window but i have no need for an alert window at the moment.

so far i've tried... (in IE)

event.cancelBubble(true) - thinking it might cancel the browser event?
event.button = 1 - changing to single click... but i get an error "member not found".

but none of these have worked. any input would be helpul

12-09-2005, 05:07 PM
sorry everyone, heh... found this...