You can using Event.observe()
Event.observe(window, 'contextmenu', function(event) {
event.stop();
});
On Sat, Jun 5, 2010 at 6:29 AM, ankit.it09 <[email protected]> wrote:
> How to disable right click in a web page using prototype , i mean is
> there any method.
>
> Thanks
> Ankit
>
> --
> You received this message because you are subscribed to the Google Groups
> "Prototype & script.aculo.us" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<prototype-scriptaculous%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/prototype-scriptaculous?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en.