On Sun, 03 Apr 2005 15:31:49 +0100, Vlad Alexander <[EMAIL PROTECTED]> wrote:
You do it via JavaScript. For example:
<a href="http://mysite.com" onclick="window.open(this.href); return false;" onkeypress="window.open(this.href); return false;">....</a>
This is the most accessible way to do this.
No, it isn't. It may fail with pop-up blockers (return !!window.open) and onkeypress doesn't work as you expect - keypress event is fired also when you simply navigate to/off the link and not try to open it (just leave onclick which actually is something like "onactivate")
and
<a href="http://mysite.com">...</a>
is more accessible way to do this. No new window - target hasn't been removed from xhtml to make webmasters use more hacks...
-- regards, Kornel Lesiński
****************************************************** The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************
