I want to hide the images in a photographic gallery when somebody uses the right-click trying to download them. Hide an object with jquery is really easy when the user press the normal left click, just adding a simple event
$("document").ready(function(){
$("img").click(function(event){
$(this).hide("fast");
});
});
But how can I detect the right-click of the mouse to activate the event.preventDefault();
and set a $(this).hide
action to the images...