Haz de Gratisss tu página de inicio
Ahora su cuenta  E-mail Gratisss

             

Busca en la web

 

Scripts Reloj-Calendario

 Reloj-Calendario

Ejemplo: asi se vera en su pagina

Simplemente copia y pega el siguiente código dentro de head> <head, de tu documento.

<SCRIPT LANGUAGE="JavaScript">
<!-- Oculto para browsers antiguos
// Este y otros Java Scripts en
// http://www.gratisss.bizland.com
var reloj = null
var correreloj = false
function hacer(medida) 
{
this.length = medida;
for(var i = 1; i <= medida; i++)
{
this[i] = "";
}
return this;
}
function parareloj (){
if(correreloj)
clearTimeout(timerID);
correreloj = false
}
function muestrafecha () {
var now = new Date();
year = new String(now.getYear())
yearLen = year.length
year = year.split("")
year = year[yearLen - 2] + year[yearLen - 1]
var mes = now.getMonth() + 1;
var fecha = now.getDate();
var hora = now.getHours();
var minuto = now.getMinutes();
var segundo = now.getSeconds();
var dia = now.getDay();
Dia = new hacer(7);
Dia[0]="DOMINGO";
Dia[1]="LUNES";
Dia[2]="MARTES";
Dia[3]="MIERCOLES";
Dia[4]="JUEVES";
Dia[5]="VIERNES";
Dia[6]="SABADO";
var Valortiempo = "";
Valortiempo += (Dia[dia]) + " ";
Valortiempo += ((mes < 10) ? " 0" : " ") + mes + "-";
Valortiempo += fecha + "-" + year + " ";
Valortiempo += ((hora <= 12) ? hora : hora - 12);
Valortiempo += ((minuto < 10) ? ":0" : ":") + minuto;
Valortiempo += ((segundo < 10) ? ":0" : ":") + segundo;
Valortiempo += (hora < 12) ? " AM" : " PM";
document.gratisss.miche.value = Valortiempo;
reloj = setTimeout("muestrafecha()",1000);
correreloj = true
}
function arrancareloj () {
parareloj();
muestrafecha()
}
// fin -->
</SCRIPT>

Ahora copia el siguiente codigo dentro de body><body.

<body onLoad="arrancareloj();">

Y ahora agrega el siguiente formulario donde quieras dentro de tu documento. Y ya esta listo.

<FORM NAME='gratisss'>
<INPUT TYPE=text NAME='miche' size=35 value=''>
</FORM>

Hit Counter visitas desde el 10 de Enero del 2000.

Enviar correo electrónico a 130351@netexpress.cl con preguntas o comentarios sobre este sitio Web.
Copyright © 1999 Gratisss.bizland.com
Última modificación: 03 de June de 2000