Căutare
Ultimele subiecte
Digital Clock
Pagina 1 din 1
Digital Clock
Cod:
var clockID = 0;
function UpdateClock() {
if(clockID) {
clearTimeout(clockID);
clockID = 0;
}
var tDate = new Date();
document.theClock.theTime.value = ""
+ tDate.getHours() + ":"
+ tDate.getMinutes() + ":"
+ tDate.getSeconds();
clockID = setTimeout("UpdateClock()", 1000);
}
function StartClock() {
clockID = setTimeout("UpdateClock()", 500);
}
function KillClock() {
if(clockID) {
clearTimeout(clockID);
clockID = 0;
}
}
Html Free Code
var clockID = 0;
function UpdateClock() {
if(clockID) {
clearTimeout(clockID);
clockID = 0;
}
var tDate = new Date();
document.theClock.theTime.value = ""
+ tDate.getHours() + ":"
+ tDate.getMinutes() + ":"
+ tDate.getSeconds();
clockID = setTimeout("UpdateClock()", 1000);
}
function StartClock() {
clockID = setTimeout("UpdateClock()", 500);
}
function KillClock() {
if(clockID) {
clearTimeout(clockID);
clockID = 0;
}
}
Html Free Code
- Data de înscriere : 01/01/1970
Pagina 1 din 1
Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum
|
|
Sam Iul 23, 2011 11:49 pm Scris de Luck1an
» Cel Mai Tare PVM
Dum Apr 17, 2011 11:38 am Scris de StyLe99
» [Rezolvare] Bug Yang .Singura Rezolvare Pentru Aceasta Problema.
Vin Feb 11, 2011 9:51 pm Scris de
» Cum sa scoateti itemele inutile de la drop_mob
Vin Feb 11, 2011 9:50 pm Scris de
» Top 100 servare private metin2
Sam Ian 29, 2011 1:50 pm Scris de
» Alegerea serverului unde vei juca
Joi Ian 27, 2011 7:47 pm Scris de
» Cum sa nu iti esueze itemele...!
Joi Ian 27, 2011 7:46 pm Scris de
» Cum sa faci P fara sa esueze
Joi Ian 27, 2011 7:44 pm Scris de
» 10 arcuri noi de ninja!
Joi Ian 27, 2011 7:42 pm Scris de