Team:Peking/RightBar

From 2010.igem.org

(Difference between revisions)
Line 71: Line 71:
<hr size=4px width=172px color=00009f>
<hr size=4px width=172px color=00009f>
<font size=3><font color=00009f><b><i>CountDown</i></b></font></font>
<font size=3><font color=00009f><b><i>CountDown</i></b></font></font>
-
<br><br>
+
 
 +
<!--the countdown code-->
 +
 
<html>
<html>
-
<script type="text/javascript">
+
<div id="countdown">
-
var urodz= new Date("November 4,2010");
+
<object type="application/x-shockwave-flash" data="http://www.oneplusyou.com/bb/files/countdown/countdown.swf?co=ffffff&bgcolor=22537e&date_month=11&date_day=4&date_year=0&un=IGEM JAMBOREE 2010&size=small&mo=11&da=4&yr=2010" width="172" height="58">
-
var s = "2010 iGEM Jamboree!";
+
<param name="movie" value="http://www.oneplusyou.com/bb/files/countdown/countdown.swf?co=ffffff&bgcolor=22537e&date_month=11&date_day=4&date_year=0&un=IGEM JAMBOREE 2010&size=small&mo=11&da=4&yr=2010" /><param name="bgcolor" value="#22537e" /></object>
-
var now = new Date();
+
</div>
-
var ile = urodz.getTime() - now.getTime();
+
-
var dni = Math.floor(ile / (1000 * 60 * 60 * 24));
+
-
if (dni > 1)
+
-
document.write(dni+" Days Remaining Until "+s)
+
-
else if (dni == 1)
+
-
document.write("Only 2 Days Remaining! Jamboree, we're coming!")
+
-
else if (dni == 0)
+
-
document.write("Only 1 Day Remaining! So Exciting!")
+
-
else if (dni == -1)
+
-
document.write("Jamboree Register Day.")
+
-
else if (dni == -2)
+
-
document.write("Presentation Day 1");
+
-
else if (dni == -3)
+
-
document.write("Presentation Day 2");
+
-
else if (dni == -4)
+
-
document.write("Final Day");
+
-
else
+
-
document.write("iGEM 2010 is over, see you next year!");
+
-
</script>
+
</html>
</html>
 +
 +
<!--end of the countdown code-->
<br>
<br>
Line 104: Line 89:
<html>
<html>
-
<a href="http://www3.clustrmaps.com/counter/maps.php?url=https://2010.igem.org/Team:Peking" id="clustrMapsLink"><img src="http://www3.clustrmaps.com/counter/index2.php?url=https://2010.igem.org/Team:Peking" style="border:0px;" alt="Locations of visitors to this page" title="Locations of visitors to this page" id="clustrMapsImg" onerror="this.onerror=null; this.src='http://www2.clustrmaps.com/images/clustrmaps-back-soon.jpg'; document.getElementById('clustrMapsLink').href='http://www2.clustrmaps.com';" />
+
<a href="http://www3.clustrmaps.com/counter/maps.php?url=https://2010.igem.org/Team:Peking" id="clustrMapsLink"><img src="http://www3.clustrmaps.com/counter/index2.php?url=https://2010.igem.org/Team:Peking" width="172px" style="border:0px;" alt="Locations of visitors to this page" title="Locations of visitors to this page" id="clustrMapsImg" onerror="this.onerror=null; this.src='http://www2.clustrmaps.com/images/clustrmaps-back-soon.jpg'; document.getElementById('clustrMapsLink').href='http://www2.clustrmaps.com';" />
</a>
</a>
</html>
</html>
</div>
</div>

Revision as of 13:50, 9 July 2010