Return to Snippet

Revision: 24885
at March 15, 2010 06:43 by lwcooper


Initial Code
$("a[href*='http://']:not([href*='"+location.hostname+"'])").click( function() {
window.open( $(this).attr('href') );
return false;
});

Initial URL


Initial Description


Initial Title
Open all external links in a new window using Jquery

Initial Tags
jquery

Initial Language
jQuery