Giochi
Software
Musica
Telefonia
Fun
Lavoro
Soldi
Webmaster
Viaggi
Tempo Libero
Annunci
Home
+
Webmaster
+
Script
+
Javascript
+
Orari e Date
+
Title Bar Clock
Tweet
Title Bar Clock
Vedi la barra sopra.
Download codice sorgente
<!-- THREE STEPS TO INSTALL title BAR CLOCK: 1. Copy the coding into the head of your html document 2. Add the onLoad event handler into the body tag 3. Put the last coding into the body of your html document --> <!-- STEP ONE: Paste this code into the head of your html document --> <head> <SCRIPT LANGUAGE="JavaScript"> <!-- Original: Alex Jarvis (gamemastax@hotmail.com ) --> <!-- Begin function clock() { var date = new Date() var year = date.getYear() var month = date.getMonth() var day = date.getDate() var hour = date.getHours() var minute = date.getMinutes() var second = date.getSeconds() var months = new Array("", "JAN", "FEB", "MAR", "APR", "MAY", "JUN", "JUL", "AUG", "SEP", "OCT", "NOV", "DEC") var monthname = months[month] if (hour > 12) { hour = hour - 12 } if (minute < 10) { minute = "0" + minute } if (second < 10) { second = "0" + second } document.title = "JSS - " + monthname + " " + day + ", " + year + " - " + hour + ":" + minute + ":" + second setTimeout("clock()", 1000) } // End --> </script> </head> <!-- STEP TWO: Insert the onLoad event handler into your body tag --> <body onLoad="clock()">
Compatibilità: MsIE | Netscape
Javascript
Bottoni
Giochi in Javascript
Finestre e Frame
Effetti su testo
Grafica e Immagini
Menù in Javascript
Orari e Date
Status Bar
Altre risorse:
Libri Javascript
|
Manuale Javascript
Flash MX & ActionScript
Corso sul linguaggio di programmazione ActionScript per rendere interattivi i filmati Flash.
Linux
Guida al sistema operativo open-source, completamente gratuito e potente.
Fai fruttare il tuo sito!
Diventa oggi stesso un affiliato Trade Doubler e guadagna qualche soldino con il tuo sito web.