W3C home > Mailing lists > Public > www-validator@w3.org > June 2004

Re: target in xhtml11

From: Jim Ley <jim@jibbering.com>
Date: Mon, 14 Jun 2004 15:41:36 +0100
To: www-validator@w3.org
Message-ID: <cakdf2$evq$1@sea.gmane.org>


"Beton, Richard" <richard.beton@roke.co.uk> wrote in message
news:40CDB65D.40006@roke.co.uk...
> I'm sorry Allan, I'm not sure I understand your point.  The happy
> consequence of using the href attribute with javascript is that it
> remains accessible, whether or not javascript is available/enabled.
>
> <a href="http://www.w3.org" onclick="return wOpen(this,
'_blank')">W3.org</a>
>
> Are you suggesting I need to add something else to improve it further?

Yep, it's useless I'm afraid, popup blockers have made return false on an
href when opening windows a particularly bad idea.

<a href="chicken.html" onclick="this.target='_black'"> ... </a>

Jim.
Received on Monday, 14 June 2004 10:41:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:14 GMT