
06/03/2006, 18:20
|
 | Moderador extraterrestre | | Fecha de Ingreso: diciembre-2001 Ubicación: Madrid
Mensajes: 6.987
Antigüedad: 23 años, 2 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. |