/ Published in: jQuery

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$('a[rel*=external]').click( function() { window.open(this.href); return false; }); // Better Solution // thanks to: emelendez $('body').delegate('a[rel=external]', 'click', function(){ window.open(this.href); return false; })
Comments
