I want to create a menu that changes when you mouse over and onclick.
But my click will only be blank when clicked.
I found out that if I remove href, the onclick function will work.
Does anyone know how to solve a problem?
<a href="{storeurl}?act=aboutus"> <img src="skins/sunlift/styleImages/navbar_pic/aboutus_n.jpg" onclick="this.src='skins/sunlift/styleImages/navbar_pic/aboutus_h.jpg'" onmouseover="this.src='skins/sunlift/styleImages/navbar_pic/aboutus_h.jpg'" onmouseout="this.src='skins/sunlift/styleImages/navbar_pic/aboutus_n.jpg'"/> </a>
source share