jQuery to open links with rel=”external” in new window

[javascript]
$(‘a[rel*=external]’).click(function() {
window.open(this.href);
return false;
});
[/javascript]

Leave a Reply