[thelist] XHTML 1.0 Strict -no target attribute allowed?

Earl Cooley shiva at io.com
Sat Oct 23 22:48:41 CDT 2004

I use some Javascript that goes through the page and adds a 
_blank Target to every external link it finds:

function outLinks(){
	var wlhref = window.location.href;
	var dlinks = document.links;
	for (var i=0; i<(dlinks.length); i++)
		if ((dlinks[i].href.indexOf(wlhref)==-1))
			dlinks[i].target = '_blank';

window.onload = function() {

 e=sc^  (shiva at io.com) Earl Cooley III (the "other" Earl) 

More information about the thelist mailing list