permaculture playing cards*
The moose likes HTML, CSS and JavaScript and the fly likes onContextMenu Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "onContextMenu" Watch "onContextMenu" New topic
Author

onContextMenu

Arya Devan
Greenhorn

Joined: Feb 07, 2006
Posts: 28
hi all ,

i m facing a problem in my browser. in my body tag i have included OnContextMenu = "return false" stil .. it allows me to right click in my web page ..


wat mite b the mistake ??

Thanx in advance..


Arya.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Most browsers have a setting that does not let you override this function since people actually do use it for navigation and such.

Eric
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60791
    
  65

wat mite b the mistake ??


Arya Devan, JavaRanch is a community of people from all over the world, many of who are not native English speakers. While using abbreviations like "u" instead of spelling out "you" is convenient when text messaging your friends on a cell phone or in a chat room, it presents an extra challenge to those that are already struggling with English. Additionally, such shortcuts may confound automated translation tools that patrons of the Ranch may be making use of.

I would like to ask for your help in making the content of JavaRanch a little easier to read for everybody that visits here by not using such abbreviations.

Please read this for more information.

thanks,
bear
JavaRanch Sheriff


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
Don't get me started about those stupid light bulbs.
 
subject: onContextMenu
 
Similar Threads
how to get menupopup on mouse leftclick
Bemused event question
How to disable popup menu in IE using javascript?
onContextMenu for JSF?
How to disable right click in a page