Ver Mensaje Individual
  #3 (permalink)  
Antiguo 06/03/2006, 18:26
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
Lo he modificado un poco para que funcione bien:

Código:
<html>
<head>
<script>
function pepe(){
juan = setInterval("document.forms[0].valor.value=parseInt(document.forms[0].valor.value*10+1)/10" , 100);
}
</script>
</head>
<body>
<form>
<input type="text" style="border:solid 1px black;font:10px/10px courier;text-align:right;" value="0" size="6" maxlength="6" name="valor">
<input type="button" onclick="clearInterval(juan)" value="STOP!">
</form>
<img src="http://www.karlankas.net/chufa2.jpg" onload="pepe()">
</body>
</html>
__________________
Cómo escribir

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