i have the options of my web application in tabs.
Using e.metaKey doesn't works the same on windows, so to detect for Windows you can use the navigator object and see if the user is clicking the ctrl key (the default way to open a new tab).
$('ul#tabs li a').click(function(a){
var href = $(this).attr('href');
// check if user clicked with command key (for mac) or ctrl key (for windows)
if(a.metaKey || (navigator.platform.toUpperCase().indexOf('WIN')!==-1 && a.ctrlKey)) {
window.open(href,'_blank');
} else {
$('#content').fadeOut('fast', function(){
window.location = href;
});
}
});