Template:Osaka countdown
From 2010.igem.org
(Difference between revisions)
Line 15: | Line 15: | ||
function tick() | function tick() | ||
{ | { | ||
- | document.getElementById('DAYS').innerHTML = dd | + | document.getElementById('DAYS').innerHTML = dd; |
- | document.getElementById('HRS').innerHTML = hh | + | document.getElementById('HRS').innerHTML = hh; |
- | document.getElementById('MINS').innerHTML = mm | + | document.getElementById('MINS').innerHTML = mm; |
- | document.getElementById('SECS').innerHTML = ss | + | document.getElementById('SECS').innerHTML = ss; |
setTimeout('tick()', 1000); | setTimeout('tick()', 1000); | ||
} | } | ||
- | document.write("< | + | document.write("<span id='DAYS'></span> days, <span id='HRS'></span> hours, <span id='MINS'></span> minutes & <span id='SECS'></span> seconds"); |
tick(); | tick(); | ||
</SCRIPT> | </SCRIPT> | ||
</html> | </html> |
Revision as of 01:08, 28 September 2010