disabling mouse right click menu for images using Jquery

by Francis 2013-02-18 19:06:38

Disabling mouse right click menu for images using Jquery

Disable mouse right click menu in images
$(document).on('mousedown', 'img', function(e)
{
if(e.which === 3){
$(this).live('contextmenu', function(e){
e.preventDefault();
});
};
});
853
like
0
dislike
0
mail
flag

You must LOGIN to add comments