& lthead & gt
& lttitle & gt 카운트다운 초
& ltbody & gt
& lt 스크립팅 언어 = 자바스크립트 & gt
Var now = newdate ("11/26/2006"+10+":"+30+
함수 GetServerTime ()
{
Var uro dz = newdate ("11/30/200611:38:;
Now.settime (now.gettime ()+250);
일 수 = (urodz-now)/1000/60/60/24;
DaysRound = Math.floor (일);
시간 = (urodz-now)/1000/60/60-(24 * days round);
HoursRound = Math.floor (시간);
분 = (urodz-now)/1000/60-(24 * 60 * days round)-(60 * hours round);
MinutesRound = Math.floor (분) :
초 = (urodz-now)/1000-(24 * 60 * 60 * days round)-(60 * 60 * hours round *)
SecondsRound = Math.round (초);
Document.getElementById("date ") 입니다. InnerHTML = daysRound
Document.getElementById("time ") 입니다. Innerhtml = hours round+":"+minutes round+":"+seconds round;
}
SetInterval("GetServerTime () ",250);
& lt/스크립트 >
거리 * * * * * * * 및 < span id="date ">& lt/span>. & ltspan class="white 14b "> 신
& lt/body & gt;;
& lt/html & gt;;