This is the code I'm using as this moment for the fade out effect on all links with the class "link"
$('.link').click(function() {
event.preventDefault();
newLocation = this.href;
$('body').fadeOut(700, newpage);
});
The problem is that the middle click and/or open in a new tab doesn't work. Is there a way I can change this code so that my users both can right-click and/or middle click on these links?