Return to Snippet

Revision: 19568
at October 26, 2009 05:37 by cesgra


Initial Code
$('A[rel="external"]')
.click( function() {
window.open( $(this).attr('href') );
return false;
});

Initial URL
http://css-tricks.com/snippets/jquery/open-external-links-in-new-window/

Initial Description
use "rel" attribute with "external"

Initial Title
Open External Links In New Window

Initial Tags

                                

Initial Language
jQuery