Return to Snippet

Revision: 38479
at January 4, 2011 00:17 by cleo


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

Initial URL

                                

Initial Description

                                

Initial Title
Jquery External Links

Initial Tags
jquery, links

Initial Language
jQuery