Team:KAIST-Korea/Test Count
From 2011.igem.org
(Difference between revisions)
Line 24: | Line 24: | ||
+ | |||
+ | } | ||
+ | |||
+ | function getTime2() | ||
+ | { | ||
now2 = new Date(); | now2 = new Date(); | ||
dday2 = new Date("Nov 7 2011 00:00:00"); | dday2 = new Date("Nov 7 2011 00:00:00"); | ||
Line 37: | Line 42: | ||
document.timeForm.input2.value = daysRound + ":" + hoursRound + ":" + minutesRound + ":" + secondsRound; | document.timeForm.input2.value = daysRound + ":" + hoursRound + ":" + minutesRound + ":" + secondsRound; | ||
newtime = window.setTimeout("getTime();", 1000); | newtime = window.setTimeout("getTime();", 1000); | ||
- | |||
} | } | ||
- | |||
- | |||
- | |||
</script> | </script> | ||
Line 49: | Line 50: | ||
- | <BODY onLoad="getTime()"> | + | <BODY onLoad="getTime()" onLoad="getTime2()"> |
<style> | <style> |
Revision as of 10:29, 8 July 2011