Re: HTML 4.0 events and DOM requirements draft

> technique for attaching events as tag attributes, but a better approach
> would be to use some form of name/action pairs, such as name=onclick
> action=function(), rather than trying to list several, a list that will only

That doesn't work either, because I understand that SGML won't allow 
you to write multiple instances of the same attribute:

<A NAME=onclick ACTION="foo()" NAME=onmouseenter ACTION="bar()" 
HREF="/">Foo bar</A>

:-(

An alternate possibility is to use the <PARAM> element, as used in 
<APPLET>.

<A HREF="/">
<PARAM NAME=onclick ACTION="foo()">
<PARAM NAME=onmouseenter ACTION="bar()">Foo bar</A>

Chris

Received on Wednesday, 16 July 1997 10:58:19 UTC