Ver Mensaje Individual
  #2 (permalink)  
Antiguo 06/03/2006, 18:20
Avatar de KarlanKas
KarlanKas
Moderador extraterrestre
 
Fecha de Ingreso: diciembre-2001
Ubicación: Madrid
Mensajes: 6.987
Antigüedad: 22 años, 4 meses
Puntos: 61
Prueba con algo así:

<html>
<head>
<script>
function pepe(){
juan = setInterval("document.forms[0].valor.value=parseFloat(document.forms[0].valor.value)+0.1" , 10);
}
</script>
</head>
<body>
<form>
<input type="text" name="valor">
<input type="button" onclick="clearInterval(juan)" value="STOP!">
</form>
<img src="http://www.karlankas.net/chufa2.jpg" onload="pepe()">
</body>
</html>

Dime si te sirve!
__________________
Cómo escribir

No hay pregunta tonta, sino tonto que quiere seguir en la ignorancia.