Under XHTML (strict) and possibly transitional, the target="_blank" has become defunct for a few reasons of which SEO is 1 reason.
a page will not validate if it contains an tag that contains target="".
this javascript will allow you to use rel="nofollow", rel="external" or a combination of both rel="nofollow external" in replace of target= & make the page validate again.
example:
2 edits made in header.php (to add the .js file to the pages)
linkexternal.js added to include/ folder.
not sure why but i couldn't get it to work just by adding it to xoops.js (i moved the window.open = xoopsExternalLinks; inside the function)
definitions:
rel="nofollow" instructs SE bots & crawlers to not follow/index/rank/score the link in question.
rel="external" opens link in external window, but SE bots etc will follow it and will possibly affect the sites PR score!
rel="nofollow external" is a combination of both.
it would be quite useful if this could be added to next release so that people can start using it without having to hack the core :)
external link javascript function.