version 1.55, 2002/05/24 19:45:14
|
version 1.56, 2002/05/24 20:43:12
|
Line 105 var clientwindow=opener;
|
Line 105 var clientwindow=opener;
|
|
|
function advanceclock() { |
function advanceclock() { |
clock.setTime(clock.getTime()+1000); |
clock.setTime(clock.getTime()+1000); |
statusbot=clock.getHours()+':'+clock.getMinutes()+':'+clock.getSeconds(); |
var secs=""+clock.getSeconds(); |
|
if (secs.length<2) { secs="0"+secs; } |
|
var mins=""+clock.getMinutes(); |
|
if (mins.length<2) { mins="0"+secs; } |
|
var hours=""+clock.getHours(); |
|
if (hours.length<2) { hours=" "+hours; } |
|
statusbot=hours+':'+mins+':'+secs; |
if (!dislocked) { display(); } |
if (!dislocked) { display(); } |
setTimeout('advanceclock();',1000); |
setTimeout('advanceclock();',1000); |
} |
} |