Here's some examples...
onmouseover =
"doBgColorChange(this, 'yellow');"
onmouseout =
"doBgColorChange(this, 'white');" >
For the demo, most change events are registered to buttons; however, any events
could be used to fire calls to the functions used here. Note that the style
properties used in the JavaScript functions are named, using camel notation;
this is required by JavaScript, since the hyphenated names would confuse the
JavaScript interpreter (font-family would be read by the JavaScript intepreter
as "font minus family").
level 2 heading for color change
this paragraph can have its font family reset by class
another level 2 heading for color change
another paragraph for font family resets by class
this paragraph will not have its font family affected by changes to the pFont class, but can be manipulated by its id