Team:Osaka/Test2

From 2010.igem.org

(Difference between revisions)
 
(6 intermediate revisions not shown)
Line 5: Line 5:
<style>
<style>
#cd {
#cd {
-
width: 200px; height: 50px;
+
width: 0px; height: 0px;
-
margin: auto; padding: 5px;
+
margin: auto; padding: 0px;
-
font-family: Arial; font-size: 18pt;
+
font-family: Arial; font-size: 0pt; //hides the ugly output from external php file since i cant modify it
}
}
</style>
</style>
-
<SCRIPT language="JavaScript" SRC="http://www.minisitegallery.com/2020/countdown.php?timezone=US/Eastern&countto=2010-11-06 00:09:00&do=t&data=iGEM 2010 Jamboree"></SCRIPT>
+
<script type="text/javascript" src="https://2010.igem.org/wiki/index.php?title=User:Shaothing/wiki/test.js&action=raw"></script>
 +
 
 +
<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>
 +
 
 +
<SCRIPT type="text/javascript">
 +
function tick()
 +
{
 +
    document.getElementById('DAYS').innerHTML = "Days left: "+dd;
 +
    document.getElementById('HRS').innerHTML = "Hours left: "+hh;
 +
    document.getElementById('MINS').innerHTML = "Minutes left: "+mm;
 +
    document.getElementById('SECS').innerHTML = "Seconds left: "+ss;
 +
    setTimeout('tick()', 1000);
 +
}
 +
document.write("<div id='DAYS'></div>\n");
 +
document.write("<div id='HRS'></div>\n");
 +
document.write("<div id='MINS'></div>\n");
 +
document.write("<div id='SECS'></div>\n");
 +
tick();
 +
</SCRIPT>
</body>
</body>
</html>
</html>

Latest revision as of 04:27, 28 September 2010