/ Published in: jQuery
Expand |
Embed | Plain Text
function externalLinks(){ var baseAddress = window.location.hostname; $("a[href^='http:']").not("[href*='"+baseAddress+"']").click(function(){ window.open(this.href); return false; }) }
You need to login to post a comment.
