Disable Right Click by Users on images using jqeury(i.e. Restrict user from image copy)
Just place below script inside your <head> tag and enjoy...::
<script type="text/javascript" src="http://ajax.microsoft.com/ajax/jquery/jquery-1.4.2.min.js">
</script>
<script type="text/javascript">
$(document).ready(function () {
$('img').bind('contextmenu', function (e) {
return false;
});
});
</script>
<script type="text/javascript" src="http://ajax.microsoft.com/ajax/jquery/jquery-1.4.2.min.js">
</script>
<script type="text/javascript">
$(document).ready(function () {
$('img').bind('contextmenu', function (e) {
return false;
});
});
</script>
Comments
Post a Comment