Greetings,
I’m not sure if this may be helpful for what you are trying to do, but I use this plugin, called Zap_NewWindow which uses some javascript to automatically make all external links open in a new window and it seems to validate as compliant XHTML code.
It works very well in both Firefox and IE (I’m assuming javascript must be enabled). Hopefully this is helpful for you!
Cheers,
Michael.
Here’s the “non-validating”, easier (maybe) way…
<a href="http://whatever" target="_blank">TEXT</a>
The target="_blank"
part is what opens the new window.
@michealh I seem to be doing something wrong. I think the lines at 227 are going in the wrong place. Any help on where to place it would be great.
@niziol, the plug in didn’t seem to work for me.
@pizzaman, I’m trying to avoid having to manually add that very thing.
Why force someone into opening a new window? It is annoying. If the end user wants an external link in a new window then let them decide to right click.
Matter of personal opinion (IOW speak for yourself john): I WANT new windows myself, it is NOT annoying, it’s way easier if the site I’m on does it for me, regardless that I know how to force a new window (or tab as the case may be).