what script code to make a mouse over color change?

AmericanAirFan

Solid State Member
Messages
10
so what code do I have to put in so that when u drag over a link on my nav bar the background changes from one color to another?
 
Well, say you have the nav bar in a div, when someone mouses over the div to make it change colors you could use:

Code:
<div onMouseOver="this.style='background-color:#aaaaaa;';" onMouseOut="this.style='background-color:#bbbbbb;';"> stuff</div>
 
Back
Top Bottom