/ Published in: jQuery
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$("a[rel*='external']").each(function(){ $(this).attr({ target:"_blank", title: ($(this).attr("title")) ? "New window: " + $(this).attr("title") : "Open in new window" }); });