I'd like to be able to use both of these, but currently with the vbSEO rel=nofollow enabled, I'm not able to on external links.
I have a function placed in vbulletin_global.js that looks like this:
To open it in a new window while remaining code compliant, but vbSEO's function also puts one in there, and can't have 2 rel's..Code:function externalLinks() { if (!document.getElementsByTagName) return; var anchors = document.getElementsByTagName("a"); for (var i=0; i<anchors.length; i++) { var anchor = anchors[i]; if (anchor.getAttribute("href") && (anchor.getAttribute("rel") == "external" || anchor.getAttribute("rel") == "external nofollow") ) anchor.target = "_blank"; } } window.onload = externalLinks;
With vbSEO one enabled, looks like this:
Would be nice if we could have an option to add "external" to open in a new window for external links without having to use _blank.Code:rel="nofollow" href="http://news.yahoo.com" rel="external nofollow">



LinkBack URL
About LinkBacks





