/ Published in: jQuery
Add attribute to links to open them in a new window. Example - rel="external". Alternative to target="_blank", conforming to XHTML specification.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$('a[rel*=external]').click(function() { window.open(this.href); return false; });