Team:KAIST-Korea/Test Count

From 2011.igem.org

(Difference between revisions)
Line 27: Line 27:
}
}
-
function getTime2()
+
</script>
-
{
+
 
-
      now2 = new Date();
+
<style type="text/css">
-
      dday2 = new Date("Nov 7 2011 00:00:00");
+
a:hover {color:#FA8282;/* mouse over link */
-
      days2 = (dday2 - now2) / 1000 / 60 / 60 / 24;
+
a:active {color:#FFFFFF;/* selected link */
-
      daysRound2 = Math.floor(days2);
+
-
      hours2 = (dday2 - now2) / 1000 / 60 / 60 - (24 * daysRound2);
+
-
      hoursRound2 = Math.floor(hours2);
+
-
      minutes2 = (dday2 - now2) / 1000 /60 - (24 * 60 * daysRound2) - (60 * hoursRound2);
+
-
      minutesRound2 = Math.floor(minutes2);
+
-
      seconds2 = (dday2 - now2) / 1000 - (24 * 60 * 60 * daysRound2) - (60 * 60 * hoursRound2) - (60 * minutesRound2);
+
-
      secondsRound2 = Math.round(seconds2);
+
-
      document.timeForm.input2.value = daysRound  + ":" + hoursRound + ":" + minutesRound + ":" + secondsRound;
+
#Home{
-
      newtime = window.setTimeout("getTime();", 1000);
+
        position: absolute;
 +
        font-family:Bell MT;
 +
        font-size:12pt;
 +
        left:10px;
 +
        top:-30px;
}
}
-
</script>
+
</style>
-
 
+
</HEAD>
</HEAD>
Line 53: Line 49:
-
<p align=center>
 
<form name=timeForm>
<form name=timeForm>
Line 59: Line 54:
</form>
</form>
-
</center>
 
-
 
-
</BODY>
 
-
 
-
 
-
<BODY onLoad="getTime2()">
 
-
 
-
 
-
<p align=center>
 
-
 
-
<form name=timeForm>
 
-
<input type=text name=input2 border-style="none" style="border-bottom: 0px solid; border-left: 0px solid;border-right: 0px solid;border-top: 0px solid;  font:30px arial, helvetica,sans-serif; color:white; background-color:black; position:absolute; left:300px; top:300px">
 
-
</form>
 
-
</center>
+
<div id="TagOverview">
 +
<a href="https://2011.igem.org/Team:KAIST-Korea/Projects/Overview">Overview </a>
 +
</div>
</BODY>
</BODY>

Revision as of 10:33, 8 July 2011

Menu
Menu Menu