Team:Goettingen/Team
From 2013.igem.org
m |
m |
||
Line 136: | Line 136: | ||
</ul> | </ul> | ||
</div><!--close ctrl-p --><br /> | </div><!--close ctrl-p --><br /> | ||
- | + | <div id="CountD" style="background-color:#f9f9f9;padding: 0 10px 0 10px"> | |
- | <h3 style="color:#8f0000;font-size:14pt">Today is:</ | + | <h3 style="color:#8f0000;font-size:14pt;cursor:pointer;" onclick="$('.todayd').toggle('slow');">Today is:</h3> |
+ | <ul class="todayd" style="font-size:12pt"> | ||
+ | <li><script type="text/javascript"> | ||
+ | var date = new Date(); | ||
+ | var month = new Array(7); | ||
+ | month[0] = "January"; | ||
+ | month[1] = "February"; | ||
+ | month[2] = "March"; | ||
+ | month[3] = "April"; | ||
+ | month[4] = "May"; | ||
+ | month[5] = "June"; | ||
+ | month[6] = "July"; | ||
+ | month[7] = "August"; | ||
+ | month[8] = "September"; | ||
+ | month[9] = "October"; | ||
+ | month[10] = "November"; | ||
+ | month[11] = "December"; | ||
+ | var year = date.getYear(); | ||
+ | if (year < 2000) { year+=1900; } | ||
+ | document.write(month[date.getMonth()] + " " + date.getDate() + ", " + year); | ||
+ | var day = new Date(); | ||
+ | var weekday = new Array(7); | ||
+ | weekday[0] = "Sunday"; | ||
+ | weekday[1] = "Monday"; | ||
+ | weekday[2] = "Tuesday"; | ||
+ | weekday[3] = "Wednesday"; | ||
+ | weekday[4] = "Thursday"; | ||
+ | weekday[5] = "Friday"; | ||
+ | weekday[6] = "Saturday"; | ||
+ | document.write(" " + weekday[day.getDay()]); | ||
+ | </script></li> | ||
+ | </div> | ||
</div><!--close col-left--> | </div><!--close col-left--> | ||
Revision as of 14:24, 27 May 2013