W3C home > Mailing lists > Public > www-html@w3.org > December 2002

Re: Using CSS for XML Events

From: Daniel Glazman <glazman@netscape.com>
Date: Tue, 17 Dec 2002 10:42:16 +0100
Message-ID: <3DFEF178.3080800@netscape.com>
To: www-html@w3.org

Shelby Moore wrote:
> It is common that a particular listener (event + handler) needs to be
> applied to large number of content nodes (elements), and it would nice if
> target attribute provided a way to classify versus redundant declarations.
> 
> For example, look at the new CSS TreeMenu I coded on the (left frame of)
> following page, and note that the same onclick event and handler is
> declared for nearly every node of the tree:
> 
> http://coolpagehelp.com
> 
> What is needed is some way to specify a set (a class) of elements to which
> the same listener could be assigned.  Perhaps there is some way to leverage
> CSS's selectors technology for specifying targets or using CSS to assign
> listeners to selectors.

Basically, you want BECSS.
See http://www.w3.org/TR/becss

</Daniel>
-- 
Daniel Glazman  - Netscape Communications Corp. -  glazman@netscape.com
Netscape is Linux Journal Editors Choice Award for Best Web Client 2002
   Netscape 7.0 : 13.588.591 downloads so far... and it's not over !
Received on Tuesday, 17 December 2002 04:40:47 GMT

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