W3C home > Mailing lists > Public > www-html@w3.org > July 2000

RE: anchors in XHTML

From: Dave J Woolley <DJW@bts.co.uk>
Date: Wed, 12 Jul 2000 18:24:54 +0100
Message-ID: <81E4A2BC03CED111845100104B62AFB58247C6@stagecoach.bts.co.uk>
To: www-html@w3.org
> From:	Kevin Lavergne [SMTP:kevin.lavergne@parago.com]
> 
> If you want to use one of the "strict" DTDs and you still want to open
> links
> in new windows, just use the JavaScript "window.open" command.
> 
	[DJW:]  Don't do this.  Use the transitional DTD 
	instead.  If you must use Javascript, make it an
	onclick attribute of an anchor that goes to the page
	anyway, and return false, to avoid any confusion.

	Pages which have dead links unless you enable Javascript
	are becoming an increasing annoyance.  Making pages that
	don't work without Javascript is a much worse accessibility
	violation than using transitional DTDs.
Received on Wednesday, 12 July 2000 13:34:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:43 GMT