W3C home > Mailing lists > Public > www-style@w3.org > February 1999

Re: Yet Another Suggestion For CSS3 (YASF-CSS3): Events

From: <ptorr@vantsys.com.au>
Date: Fri, 19 Feb 1999 08:08:25 +1000
To: James Aylett <dj-www-style@insigma.com>
cc: www-style@w3.org
Message-ID: <4A25671C.007A520C.00@melext.vantsys.com.au>


>On a given site, I mark every book title, every film title, every show
>title, using appropriate CSS classes, typically by doing <SPAN
>CLASS="booktitle">The Wind In The Willow</SPAN>. It would be nice if I
>specify a mouse click handler for the entire class, so I don't waste time
>(and probably sometimes forget) specifying the handler each time.

This kind of functionality is provided by DHTML "behaviours", which are
something Microsoft has put into Internet Explorer 5, and have submitted to
the W3C for consideration. It uses a new CSS attribute 'behavior' (ugh,
should be a "u" in there!) to specify a behaviour for a given CSS class.
That behaviour can add new properties to those elements, as well as provide
standard event handlers (eg, onclick()) for every element of the class.



for more info.

Peter Torr, Applications Developer
Vantage Systems - Making Time Pay
Received on Thursday, 18 February 1999 16:10:00 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:49 UTC