Hi,
I found another way of doing the same, as it(contextmenu) is an event so
we can do it like below :
Event.observe(window, 'contextmenu', function(event) {
event.stop();
Thanks
Ankit Jain
On Wednesday 02 June 2010 10:01 PM, Ankit Jain wrote:
Hi,
For disabling right click you can use the following code :
<script type="text/javascript">
document.oncontextmenu=new Function("return false")
</script>
--
Thanks& Regards:
Ankit Jain
Enterprise Software Developer
Hotwax Media Pvt. Ltd.
www.hotwaxmedia.com