Ver Mensaje Individual
  #3 (permalink)  
Antiguo 26/07/2003, 18:29
Avatar de nuevo
nuevo
 
Fecha de Ingreso: mayo-2003
Ubicación: Spain
Mensajes: 2.009
Antigüedad: 21 años, 8 meses
Puntos: 2
si seria solo reconvertir este script, para que muestre los dias, horas, minutos y segundos hacia atras---, este solo muestra los segundos... y yo de java no me entero ni papa

<html>
<head>
<SCRIPT>
var interval = "";
var i = 5;
function startInterval(){
interval = window.setInterval("tTimer()",1000);
}
function stopInterval(){
window.clearInterval (interval);
interval="";
}
function tTimer(){
document.f.display.value = i--;
if (i == -1)
{
stopInterval();
alert ("tiempo terminado");
}
}
</SCRIPT>
</head>
<body>
<form name=f>
<input type=text name=display value="">
</form>
<script>
startInterval();
</script>
</body>
</html>
__________________
3w.valenciadjs.com
3w.laislatv.com

Última edición por nuevo; 26/07/2003 a las 19:36