![](http://t0.gstatic.com/images?q=tbn:ANd9GcTHMYk_t7Lfw9Lhi47WbYQTMUYYqTEv6p2QoRr1rk5CC34ubSDEkA)
<script type="text/javascript">
$(document).ready(function(){
// this part disables the right click
$('img').on('contextmenu', function(e) {
return false;
});
//this part disables dragging of image
$('img').on('dragstart', function(e) {
return false;
});
});
</script>
No comments:
Post a Comment