07/12/2004, 03:23
|
| Moderador extraterrestre | | Fecha de Ingreso: diciembre-2001 Ubicación: Madrid
Mensajes: 6.987
Antigüedad: 23 años, 1 mes Puntos: 61 | |
Igual es que tienes alguna variable definida ya con el nombre de resultado... prueba con esto: Código HTML: <html>
<head>
<script>
pKrlK=new Date();
function maquinariaKrlK(){
aKrlK=new Date();
rKrlK=new Date(aKrlK-pKrlK);
hKrlK=rKrlK.getHours()-1;
mKrlK=rKrlK.getMinutes();
sKrlK=rKrlK.getSeconds();
tKrlK=(hKrlK<10)?"0":""
tKrlK+=hKrlK+":";
tKrlK+=(mKrlK<10)?"0":"";
tKrlK+=mKrlK+":";
tKrlK+=(sKrlK<10)?"0":"";
tKrlK+=sKrlK;
document.getElementById('capaKrlK').innerHTML = tKrlK;
timerID = setTimeout("maquinariaKrlK()",1000);
}
</script>
<title>Untitled</title>
</head>
<body onload="maquinariaKrlK()">
<div id="capaKrlK"></div>
</body>
</html> Y si sigue igual dinos dónde mirar tu página para echarle un vistazo.
__________________ Cómo escribir
No hay pregunta tonta, sino tonto que quiere seguir en la ignorancia. |