W3C home > Mailing lists > Public > www-html-editor@w3.org > January to March 2000

no "name" attibute in XHTML

From: Trish Holder <tholder@mninter.net>
Date: Fri, 3 Mar 2000 11:03:09 -0600
Message-ID: <000501bf8532$5b827ac0$af38b2d0@63lz7>
To: <www-html-editor@w3.org>
Dear Sir/Madam

Please direct this to an individual who can address the following issue with
XHTML.  Thank you.

Why are you deprecating the NAME attribute? Please consider the following

<a href="foo.htm" onmouseover="document.happy.src='image_on.gif'"
onmouseout="document.happy.src="image_off.gif'"><img src="image_off.gif"
alt="image" name="happy" border="0" /></a>

ID cannot be substituted for NAME or else you get the following JavaScript

document.happy is not an object

Since "name" is necessary for the JavaScript event handler to recognize the
image space, how can you deprecate this attribute? What is your solution?

Trish Holder
Received on Friday, 3 March 2000 12:01:12 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:08:22 UTC