Team:KAIST-Korea/Test Count
From 2011.igem.org
(Difference between revisions)
(38 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
{{:Team:KAIST-Korea/header}} | {{:Team:KAIST-Korea/header}} | ||
- | |||
Line 10: | Line 9: | ||
{ | { | ||
now = new Date(); | now = new Date(); | ||
- | dday = new Date(" | + | dday = new Date("Jul 15 2011 00:00:00"); |
days = (dday - now) / 1000 / 60 / 60 / 24; | days = (dday - now) / 1000 / 60 / 60 / 24; | ||
daysRound = Math.floor(days); | daysRound = Math.floor(days); | ||
Line 20: | Line 19: | ||
secondsRound = Math.round(seconds); | secondsRound = Math.round(seconds); | ||
- | document.timeForm.input1.value = daysRound | + | document.timeForm.input1.value = "D - "+daysRound + " " + hoursRound + ":" + minutesRound + ":" + secondsRound; |
newtime = window.setTimeout("getTime();", 1000); | newtime = window.setTimeout("getTime();", 1000); | ||
Line 27: | Line 26: | ||
} | } | ||
- | + | </script> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | <style type="text/css"> | |
- | + | ||
+ | |||
+ | div { | ||
+ | font-family:"Arial",Sans-serif; color:white; | ||
} | } | ||
+ | .widget { | ||
+ | width:250px; | ||
+ | margin:10px; | ||
+ | border-right-style:solid; | ||
+ | border-width:1px; | ||
+ | border-color:white; | ||
+ | } | ||
+ | p:hover {color:#E6E6E6;} /* mouse over link */ | ||
+ | p:active {color:#FFFFFF;} /* selected link */ | ||
- | |||
+ | #OpenCountdown{ | ||
+ | position: relative; | ||
+ | font-family:arial, helvetica,sans-serif; | ||
+ | font-size:20pt; | ||
+ | font-color:white; | ||
+ | left:350px; | ||
+ | top:50px; | ||
+ | } | ||
+ | |||
+ | </style> | ||
</HEAD> | </HEAD> | ||
Line 53: | Line 62: | ||
- | |||
<form name=timeForm> | <form name=timeForm> | ||
- | <input type=text name=input1 border-style="none" style="border-bottom: 0px solid; border-left: 0px solid;border-right: 0px solid;border-top: 0px solid; | + | <input type=text name=input1 border-style="none" style="border-bottom: 0px solid; border-left: 0px solid;border-right: 0px solid;border-top: 0px solid; font:35pt arial, helvetica,sans-serif; color:white; background-color:black; position:relative; left:380px; top:200px"> |
</form> | </form> | ||
- | |||
- | </ | + | <div id="OpenCountdown"> |
+ | <p> | ||
+ | 2011 KAIST iGEM Teaser Site Open | ||
+ | </p> | ||
+ | </div> | ||
+ | |||
+ | |||
+ | <div id="main_closing" position:relative; left:300px; top:300px; width:200px;> | ||
+ | <img src="https://static.igem.org/mediawiki/2011/3/39/%EA%B7%B8%EB%A6%BC2.png"> | ||
+ | </div> | ||
+ | |||
+ | |||
+ | |||
+ | <!--FACEBOOK APPLICATION--> | ||
+ | <div class="widget"> | ||
+ | <iframe src="http://www.facebook.com/plugins/like.php?app_id=115152055242776&href=http%3A%2F%2F2011.igem.org%2FTeam%3AKAIST-Korea&send=false&layout=standard&width=300&show_faces=false&action=like&colorscheme=dark&font=arial&height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:225px; height:40px;" allowTransparency="true"></iframe></iframe> | ||
+ | |||
+ | <br /><br /> | ||
+ | |||
+ | <!--Twitter APPLICATION--> | ||
+ | <script src="http://widgets.twimg.com/j/2/widget.js"></script> | ||
+ | <script> | ||
+ | new TWTR.Widget({ | ||
+ | version: 2, | ||
+ | type: 'profile', | ||
+ | rpp: 4, | ||
+ | interval: 6000, | ||
+ | width: 225, | ||
+ | height: 300, | ||
+ | theme: { | ||
+ | shell: { | ||
+ | background: '#606060', | ||
+ | color: '#ffffff' | ||
+ | }, | ||
+ | tweets: { | ||
+ | background: '#ffffff', | ||
+ | color: '#000000', | ||
+ | links: '#0040ff' | ||
+ | } | ||
+ | }, | ||
+ | features: { | ||
+ | scrollbar: false, | ||
+ | loop: false, | ||
+ | live: false, | ||
+ | hashtags: true, | ||
+ | timestamp: true, | ||
+ | avatars: false, | ||
+ | behavior: 'all' | ||
+ | } | ||
+ | }).render().setUser('iGEM_KAIST').start(); | ||
+ | </script> | ||
+ | </div> | ||
+ | |||
+ | |||
+ | |||
+ | <div class="abstract"> | ||
+ | <forum></forum> | ||
+ | </div> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | </BODY> | ||
</HTML> | </HTML> |
Latest revision as of 11:05, 8 July 2011
2011 KAIST iGEM Teaser Site Open