Using CSS for XML Events

Interesting observation --wonder how the CSS group  feels about
turning CSS classes to a means of acquiring  interaction behavior 
which is what your suggestion would lead us to.

What I mean is--

today you use CSS class="squareFlashingRedButton"
to get a particular look;
what you're suggesting is to create 
class="squishyUnresponsiveButton" to mean attach a particular feel to
all elements having that class.

 
>>>>> "Shelby" == Shelby Moore <shelby@coolpage.com> writes:


    Shelby> Although I am very happy that XML Events encourages the
    Shelby> declaration of events and handlers orthogonally with
    Shelby> respect to the content markup, IMO a major omission is
    Shelby> that target attribute of listener is only an IDREF.

    Shelby> It is common that a particular listener (event + handler)
    Shelby> needs to be applied to large number of content nodes
    Shelby> (elements), and it would nice if target attribute provided
    Shelby> a way to classify versus redundant declarations.

    Shelby> For example, look at the new CSS TreeMenu I coded on the
    Shelby> (left frame of) following page, and note that the same
    Shelby> onclick event and handler is declared for nearly every
    Shelby> node of the tree:

    Shelby> http://coolpagehelp.com

    Shelby> What is needed is some way to specify a set (a class) of
    Shelby> elements to which the same listener could be assigned.
    Shelby> Perhaps there is some way to leverage CSS's selectors
    Shelby> technology for specifying targets or using CSS to assign
    Shelby> listeners to selectors.

    Shelby> -Shelby Moore

-- 
Best Regards,
--raman
------------------------------------------------------------
T. V. Raman:  PhD (Cornell University)
IBM Research: Human Language Technologies
Architect:    Conversational And Multimodal WWW Standards
Phone:        1 (408) 927 2608   T-Line 457-2608
Fax:        1 (408) 927 3012     Cell: 1 650 799 5724
Email:        tvraman@us.ibm.com
WWW:      http://www.cs.cornell.edu/home/raman
AIM:      TVRaman
PGP:          http://emacspeak.sf.net/raman.asc
Snail:        IBM Almaden Research Center,
              650 Harry Road
              San Jose 95120

Received on Monday, 16 December 2002 12:44:36 UTC