Hey Nick,
The customised DTD simply allows: target="_blank" Thats all.
Stick with XHTML1.1 and use the rel="external" hook to apply some ECMAScript to open the new window
Below is the code I use:
--------------------------------------
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.target = "_blank";
}
}
window.onload = externalLinks;
--------------------------------------
******************************************************
The discussion list for http://webstandardsgroup.org/See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************
