Byron
Thu Jun 17 16:08:24 CDT 2004
Tom,
I checked the oncontextmenu event on Microsoft's site after reading your
example, and they gave a very simple example:
<body oncontextmenu="return false">.
Thank you for your good lead in helping me.
Byron
Byron Hartzler Computer Tech./CAD Operator Stonecreek Studio, Inc. P.O. Box
31802 Knoxville, TN 37930 Ph: (865) 691.3033 Fax: (865) 691.3034 Email:
bhartzler@stonecreekstudio.net Stonecreek Studio, Inc.:
http://www.stonecreekstudio.net Integrus, LLC.:
http://www.integrusllc.com
"Tom Lavedas" <tlavedas@hotmail.remove.com> wrote in message
news:1df2501c454a9$0afc4e50$a101280a@phx.gbl...
> I have used this with some success in IE (v5+, i think) ...
>
> <body oncontextmenu='
> window.event.returnvalue=false;window.event.cancelbubble=tr
> ue;'>
>
> I don't know about a more generalized appoach.
>
> Tom Lavedas
> ===========
>
> >-----Original Message-----
> >Does anyone know code that I could write in vbscript or
> jscript that would
> >block a right-click menu from coming up on a web page?
> i.e. if a person
> >right-clicks the mouse button, no menu appears. An
> example of this is on:
> >
http://www.stephenfuller.com/frms_home.html
> >
> >Thanks.
>