disable shortcut in right click
Hi,
Don't know about Netscape, but the onContextMenu event was
new with IE5, so it doesn't work with IE4 or any older versions
of Netscape, etc. You can kill all right mouse clicks, but that won't
stop the Windows Application context menu key on Windows
enhanced keyboards. AFAIK (and per MSDN documentation),
the onContextMenu event is the only event that reacts to that key.
Joe Earnest
| Does this work in Netscape, Mozilla, etc?
|
| David Martin
|
| > rajesha
| >
| > Generally we say onContextMenu event for the right-click event. We can
| kill
| > it by return=false; or window.event.returnValue=false. But if you only
| want
| > to kill certain items in the menu, there is no way, as far as I know,
via
| > script.
| >
| > --
| > Have a nice day.
| > Han Pohwan, Microsoft MVP, Korea
| >
| > > i want to disable "Add to favorities" and "create short cut" if i
click
| > the right mouse button in the webpage .how to do that
| > > by script in asp page?
| > >
| > > -----------------------------
| > > This message is posted by http://Asp.ForumsZone.com
| > >
| >
| >
|
|
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.410 / Virus Database: 231 - Release Date: 10-31-02