W3C home > Mailing lists > Public > www-svg@w3.org > December 2001

Color changing elements

From: Joe Bodell <jbodel01@tufts.edu>
Date: Thu, 13 Dec 2001 18:26:00 -0500
To: svg-developers@yahoogroups.com, www-svg@w3.org
Message-id: <3C193908.1ACEF228@tufts.edu>
Hi all,

This is a really basic question, so I hope I get LOTS of responses :-)

I'm using embedded ASP script to generate an SVG graphic.  There were
two main reasons for this 
1.  Easy database access for grabbing data
2.  I'm not all that familiar with ECMA/Javascript or DOM stuff

Is there a quick and easy way for me to use the onmouseover event
listener  to change the color of an element, say a <rect> element, and
change the color back with onmouseout? Preferably without javascript, or
if anyone knows of some examples I can look at to get the general
idea.....Thanks!

Joe Bodell
__________________________________________
| D560--Decision Support & Visualization |
| Mitre Corporation                      |
| Bedford, MA                            |
------------------------------------------
Received on Thursday, 13 December 2001 18:22:17 GMT

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