Alguien podría ayudarme con esto? Gracias y saludos.
<div id="boton">
<img src="img/home.gif" alt="boton" onmouseover="cambiar_boton(1)" on onmouseout="volver_boton(1)" />
</div>
function cambiar_boton(bot){
switch(bot){
case 1:
document.getElementById("boton").innerHTML = "<img src='img/home1.gif' alt='boton' onmouseover='cambiar_boton(1)' onmouseout='cambiarboton(2)' />";
break;
}
}
function volver_boton(bot){
switch(bot){
case 1:
document.getElementById("boton").innerHTML = "<img src='img/home.gif' alt='boton' onmouseover='cambiar_boton(1)' onmouseout='cambiarboton(2)' />";
break;
}
}