Hi 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:
This code works in: Firefox, Internet Explorer 6 & 7, Opera, Safari & Chrome.
There are a lot of examples and scripts in javascript, but one more time jQuery makes it easy! Here you have the code:
- $(document).ready(function(){
- $(document).bind("contextmenu",function(e){
- return false;
- });
- });
No comments:
Post a Comment