English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I am currently designing a site that uses the right mouse button to pop up a "context menu". How do I capture the right mouse button "event" when someone right clicks the screen when using javascript.

2007-04-04 06:46:26 · 1 answers · asked by Shaun S 1 in Computers & Internet Programming & Design

1 answers

Should you consider that the right-mouse button is re-definable?
The event is onmousedown, and the Event.which property tells you which mouse button was pressed.

2007-04-04 07:16:04 · answer #1 · answered by fjpoblam 7 · 0 0

fedest.com, questions and answers