We available for hire! — Need help with a web or mobile project?
From yensdesign we develop technology projects based on web apps, mobile apps, consulting and databases. We are young and hard workers, passionate about innovation and focused in new technologies.If you want to ask for a budget, we hare available for hire!.
Fast Tip: How to cancel right click context menu in jQuery
December 12th, 2008Hi there guys! While I was working in the next tutorial I have been encountered with a problem: How can I block / cancel the context menu when I do right click on the screen?
There are a lot of examples and scripts in javascript, but one more time jQuery makes it easy! Here you have the code:
[code language="javascript"] $(document).ready(function(){ $(document).bind("contextmenu",function(e){ return false; }); }); [/code]
This code works in: Firefox, Internet Explorer 6 & 7, Opera, Safari & Chrome.
One more thing guys… the next tutorial will be released on next Monday as a part of serie of tutorials that will be very very BIG, interesting and useful
See you soon!
Enjoy this post?
Your vote will help us to grow this website and write more entries like this one :)
We available for hire! — Need help with a web or mobile project?
From yensdesign we develop technology projects based on web apps, mobile apps, consulting and databases. We are young and hard workers, passionate about innovation and focused in new technologies. We try to help you, sharing our knowledge acquired on worked projects, while helping the community and showing our capabilities.If you want to ask for a budget, we hare available for hire! Don't doubt in get in touch with us!.
[...] Source: Fast Tip: How to cancel right click context menu in jQuery [...]
[...] Источник: Fast Tip: How to cancel right click context menu in jQuery [...]
Hey my partner and I found this Fast Tip: How to cancel right click context menu in jQuery | yensdesign – Tutorials, Web Design and Coding info was quite interesting hence I’ve added in a track-back on it on our webpage, carry on the good work Regards Rob Rasner Comedian