This might be a simpler solution than the rel=”external” and externalLinks() function.
For a and area tags, just replace target=”frame-target” with onclick=”target=’frame-target’;”. The onclick event handler is valid under all flavors of XHTML and the script itself is JavaScript 1.0 compatible. If JavaScript is unavailable or disabled, the hyperlink will open in the same frame.
Example:
Open in an new, unnamed window.
For form tags, set the target property of your form. The script is JavaScript 1.0 compatible. If JavaScript is unavailable or disabled, the results of the form submission will open in the same frame.
Example:
<form id="myform">
</form>
<script type="text/javascript">
myform.target = "_blank";
</script>
I haven’t found a simple solution for base or link tags. Any suggestions would be welcome.