Team:Kyoto/TimeLimit

From 2013.igem.org

(Difference between revisions)
(Created page with "<html> <script type="text/javascript"> function update() { var date = new Date(); // freeze 20130928 00:00 @ MIT date = } </script> <style type="text/css"> #top-section { ...")
m
Line 2: Line 2:
<script type="text/javascript">
<script type="text/javascript">
function update() {
function update() {
-
  var date = new Date();
 
   // freeze 20130928 00:00 @ MIT
   // freeze 20130928 00:00 @ MIT
-
   date =  
+
   freeze = Date.
 +
 
 +
  var date = new Date();
 +
  var hour = document.getElementById("hour");
 +
  var minute = document.getElementById("minute");
 +
  var second = document.getElementById("second");
 +
  hour.innerHTML = date.getUTCHours();
 +
  minute.innerHTML = date.getUTCMinutes();
 +
  second.innerHTML = date.getUTCSeconds();
}
}
 +
 +
window.onload = function() {
 +
  update();
 +
}
 +
</script>
</script>
<style type="text/css">
<style type="text/css">
-
#top-section {
+
body {
 +
  background-color: #000;
 +
}
 +
#p-logo, #search-controls, .firstHeading {
   display: none;
   display: none;
}
}
 +
#top-section {
 +
  height: 0px;
 +
}
 +
#content {
 +
  border: none;
 +
  background-color: transparent;
 +
}
 +
 +
#hour, #minute, #second {
 +
  width: 100px;
 +
  height : 200px;
 +
  font-size: 180px;
 +
  color: #ddd;
 +
}
 +
#hour:after, #minute:after, #second:after {
 +
  width: 40px;
 +
  height: 80px;
 +
  font-size: 60px;
 +
  color: #ddd;
 +
}
 +
#hour:after { content: "hours"; }
 +
#minute:after { content: "minute"; }
 +
#second:after { content: "second"; }
</style>
</style>
<div id="hour"></div>
<div id="hour"></div>

Revision as of 05:31, 26 September 2013