/ Published in: JavaScript
Excellent Script for opening new windows from links while adhering to modern HTML/XHTML standards. Simple put rel="nofollow" in the anchor and link to the script within the HEAD.
I prefer to remove the text that states the link opens in an external windows. To do that, simply change this part of the last line from this:
("rel","external"," (external website, opens in a new window)")
to this:
("rel","external","")
I prefer to remove the text that states the link opens in an external windows. To do that, simply change this part of the last line from this:
("rel","external"," (external website, opens in a new window)")
to this:
("rel","external","")
URL: http://www.456bereastreet.com/archive/200610/opening_new_windows_with_javascript_version_12/