External links in new window

[javascript]
// external links new window
$(document).ready(function(){
$("a[@href^=’http’]").attr(‘target’,’_blank’);
});
[/javascript]

Leave a Reply