ƯÁ¤³¯Â¥±îÁö ³²Àº ½Ã°£ ±¸Çϱâ(Ä«¿îÆ®´Ù¿î) |
|
|
![](icon/private_name/1.gif) |
13³â Àü |
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<script language="JavaScript">
<!--
var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec");
function countdown(theyear,themonth,theday,hour,minute,second,obj){
var today=new Date();
var todayy=today.getYear();
if (todayy < 1000)
todayy+=1900;
var todaym=today.getMonth();
var todayd=today.getDate();
var todayh=today.getHours();
var todaymin=today.getMinutes();
var todaysec=today.getSeconds();
var todaystring=montharray[todaym]+" "+todayd+", "+todayy+" "+todayh+":"+todaymin+":"+todaysec;
futurestring=montharray[themonth-1]+" "+theday+", "+theyear + " "+hour+":" + minute + ":" + second;
dd=Date.parse(futurestring)-Date.parse(todaystring);
dday=Math.floor(dd/(60*60*1000*24)*1);
dhour=Math.floor((dd%(60*60*1000*24))/(60*60*1000)*1);
dmin=Math.floor(((dd%(60*60*1000*24))%(60*60*1000))/(60*1000)*1);
dsec=Math.floor((((dd%(60*60*1000*24))%(60*60*1000))%(60*1000))/1000*1);
if(dday<=0 && dhour<=0&&dmin<=0&&dsec<=1){
document.getElementById(obj).value ="±¸¸Å¸¶°¨.";
return;
} else {
document.getElementById(obj).value = dday+" ÀÏ " + dhour+"½Ã°£ "+ dmin+"ºÐ "+ dsec+"ÃÊ "+" ";
}
setTimeout("countdown('"+theyear+"','"+themonth+"','"+theday+"','"+hour+"','"+minute+"','"+second+"','"+obj+"')",1000);
}
-->
</script>
</HEAD>
<BODY>
<input type=text name=end_of_total1 value size= 15 style="width:140">
<script language="javascript">
<!--
countdown( "2011" , "10" , "07" , "23" , "55" , "00",'end_of_total1');
//-->
</script>
<input type=text name=end_of_total2 value size= 15 style="width:140">
<script language="javascript">
<!--
countdown( "2012" , "11" , "08" , "23" , "55" , "00",'end_of_total2');
//-->
</script>
</BODY>
</HTML>
|
|
̵̧ : 583 |
̵̧
¸ñ·Ï
|
|