W3C home > Mailing lists > Public > www-svg@w3.org > February 2010

linking an event event CSS

From: Rick <graham.rick@gmail.com>
Date: Tue, 23 Feb 2010 09:03:31 -0500
Message-ID: <18569e001002230603y631f6056l3d94ac5a9e9ae8ce@mail.gmail.com>
To: www-svg <www-svg@w3.org>
This may already be possible, but I don't know about it, how about binding
an event to elements using CSS?

For instance, to somehow be able to link, say link onclick, globally to
<rect class="dragTarget" ...>

 .dragTarget { ...; onclick:do_drag(evt); ... }

I like it.

-- 
Cheers!
Rick
Received on Tuesday, 23 February 2010 14:04:04 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:44 GMT