PDA

View Full Version : DOM Image rollover



emanuelle
10-14-2010, 06:20 AM
http://www.dynamicdrive.com/dynamicindex15/domroll.htm

am using this great script but I am missing one function here.
when i mouseover the icon, the text color changes but when i mouseover the text, the icon color doesnt change.
what shall I adjust?


<style>
.topnav{color:blue}
.topnav:hover{color:red}
</style>

<div class="topnav" ><a href="topnav"><img src="images/top_nav_03.png" alt="" title="" class="domroll top_nav_03_on.png"/><br />test</a></div>