Hola
En el ejemplo que pones de que cambia una imagen cuando el ratón está encima de un botón, el asunto está en apuntar hacia esa imagen
Código html:
Ver original<input type="button" value="Cambia Imagen" id="1" onmouseover="CambiaImg(this.id);" /> <img src="imgdefecto.gif" id="img1">
Código javascript
:
Ver originalfunction funcion(idbot) {
document.getElementById("img"+idbot).src="imgmouseover.gif";
}
Suerte