Of course, this can only be done using CSS:
div { background-color:#000; }
div:hover { background-color:#cc0000; }
When you hover over the divbackground color will turn from black to red.
I believe that using javascript for this task is redundant. You can do quite complex things with a pseudo-selector :hover. Consider this markup (and CSS):
<div>I'm just a div <h1>I'm just an h1</h1></div>
div h1 { font-size:10px; font-weight:normal; }
div:hover { border:1px dotted #000; }
div:hover h1 { font-size:32px; font-weight:bold; color:#cc0000; }
, :hover , , , . , "" ul s.