/ Published in: jQuery
                    
                                        
use "rel" attribute with "external"
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
$('A[rel="external"]')
.click( function() {
window.open( $(this).attr('href') );
return false;
});
URL: http://css-tricks.com/snippets/jquery/open-external-links-in-new-window/
Comments
 Subscribe to comments
                    Subscribe to comments
                
                