Template:Osaka countdown

From 2010.igem.org

(Difference between revisions)
(New page: <html> <style> #cd { width: 0px; height: 0px; margin: auto; padding: 0px; font-size: 0pt; //hides the ugly output from external php file since i cant modify it } </style> <SCRIPT type="t...)
 
(4 intermediate revisions not shown)
Line 9: Line 9:
</style>
</style>
-
<SCRIPT type="text/javascript" SRC="http://www.minisitegallery.com/2020/countdown.php?timezone=US/Eastern&countto=2010-11-05 00:00:00&do=t&data=iGEM 2010 Jamboree">
+
<script type="text/javascript" src="http://www.minisitegallery.com/2020/countdown.php?timezone=US/Eastern&countto=2010-11-06 00:00:00&do=t&data=Jamboree is NOW">
-
</SCRIPT>
+
</script>
-
<SCRIPT type="text/javascript">
+
<script type="text/javascript">
function tick()
function tick()
{
{
-
     document.getElementById('DAYS').innerHTML = "Days left: "+dd;
+
     document.getElementById('DAYS').innerHTML = dd;
-
     document.getElementById('HRS').innerHTML = "Hours left: "+hh;
+
     document.getElementById('HRS').innerHTML = hh;
-
     document.getElementById('MINS').innerHTML = "Minutes left: "+mm;
+
     document.getElementById('MINS').innerHTML = mm;
-
     document.getElementById('SECS').innerHTML = "Seconds left: "+ss;
+
     document.getElementById('SECS').innerHTML = ss;
     setTimeout('tick()', 1000);
     setTimeout('tick()', 1000);
}
}
-
document.write("<div id='DAYS'></div>\n");
+
document.write("<span id='DAYS'></span> days, <span id='HRS'></span> hours, <span id='MINS'></span> minutes & <span id='SECS'></span> seconds");
-
document.write("<div id='HRS'></div>\n");
+
-
document.write("<div id='MINS'></div>\n");
+
-
document.write("<div id='SECS'></div>\n");
+
tick();
tick();
-
</SCRIPT>
+
</script>
</html>
</html>

Latest revision as of 00:35, 13 October 2010