That code makes me glad I have a scriptlet on my Links toolbar that does:
javascript
:void(function
(){document.body.oncontextmenu=null;window.onmouse down=null;window.onmouseup=null;}());
So when I do find myself surfing the Web with IE (because of the horrible design
of some sites which make it almost impossible to view the site with anything
other then IE), I can disable the author's misguided attempts to "help me out"
by messing with the functionality of my browser.
Jason Daviau wrote:
The event you are looking for is onContextMenu.
Ex
onContextMenu="return YourMethod('Your Params')"
Make sure your method returns false or the ie menu will still appear.
"Robert Oschler" <no_replies@fake_email_address.invalid> wrote in message
news:Yu********************@adelphia.com... Hello,
In my web pages I attach the OnClick event. However this doesn't seem to
intercept right-click events. Is there another event I need to attach or
is it something else?
thx
--
Robert Oschler
http://www.dog-images.com -- Devoted to providing free info on the health,
nutrition, and training of dogs.
--
| Grant Wagner <gw*****@agricoreunited.com>
* Client-side Javascript and Netscape 4 DOM Reference available at:
*
http://devedge.netscape.com/library/...ce/frames.html
* Internet Explorer DOM Reference available at:
*
http://msdn.microsoft.com/workshop/a...ence_entry.asp
* Netscape 6/7 DOM Reference available at:
*
http://www.mozilla.org/docs/dom/domref/
* Tips for upgrading JavaScript for Netscape 7 / Mozilla
*
http://www.mozilla.org/docs/web-deve...upgrade_2.html