I'm trying to put that code to prevent right click on a img but i don't know what's wrong with that code. I think the script code is not where it should be.
<html>
<head>
<meta charset='utf-8'/>
<title></title>
<script type="text/javascript" src="js/jquery-1.7.1.min.js"></script>
</head>
<body>
<img src="src image path">
<script>
$(window).load(function() {
$('img').bind('contextmenu', function(e) {
return false;
});
};
</script>
</body>
</html>