Register now and start sharing your code snippets.
-->
Opening external links in a new window with jQuery and "rel=external"
JavaScript posted 4 months ago by christian
Usually you would do this with target=’blank’, but that attribute has been removed, so use this instead:
1 $('a[rel=external]').click(function() { 2 window.open(this.href); 3 return false; 4 });