Team:Heidelberg/DesignTest
From 2013.igem.org
(Difference between revisions)
m |
|||
Line 155: | Line 155: | ||
<div id="anormalheading"><second>T</second>HIS COULD BE YOUR HEADING </div> | <div id="anormalheading"><second>T</second>HIS COULD BE YOUR HEADING </div> | ||
+ | <form name="count"> | ||
+ | <input type="text" size="69" name="count2"> | ||
+ | </form> | ||
+ | |||
+ | |||
+ | <script> | ||
+ | |||
+ | /* | ||
+ | Count down until any date script- | ||
+ | By JavaScript Kit (www.javascriptkit.com) | ||
+ | Over 200+ free scripts here! | ||
+ | */ | ||
+ | |||
+ | |||
+ | //change the text below to reflect your own, | ||
+ | var before="Wiki-freeze" | ||
+ | var current="The Wiki is froozen now" | ||
+ | var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec") | ||
+ | |||
+ | function countdown(yr,m,d,min,sec){ | ||
+ | theyear=yr;themonth=m;theday=d;themin=min; thesec=sec; | ||
+ | var today=new Date() | ||
+ | var todayy=today.getYear() | ||
+ | if (todayy < 1000) | ||
+ | todayy+=1900 | ||
+ | var todaym=today.getMonth() | ||
+ | var todayd=today.getDate() | ||
+ | var todayh=today.getHours() | ||
+ | var todaymin=today.getMinutes() | ||
+ | var todaysec=today.getSeconds() | ||
+ | var todaystring=montharray[todaym]+" "+todayd+", "+todayy+" "+todayh+":"+todaymin+":"+todaysec | ||
+ | futurestring=montharray[m-1]+" "+d+", "+yr+", "+min+", "+sec" | ||
+ | dd=Date.parse(futurestring)-Date.parse(todaystring) | ||
+ | dday=Math.floor(dd/(60*60*1000*24)*1) | ||
+ | dhour=Math.floor((dd%(60*60*1000*24))/(60*60*1000)*1) | ||
+ | dmin=Math.floor(((dd%(60*60*1000*24))%(60*60*1000))/(60*1000)*1) | ||
+ | dsec=Math.floor((((dd%(60*60*1000*24))%(60*60*1000))%(60*1000))/1000*1) | ||
+ | if(dday==0&&dhour==0&&dmin==0&&dsec==1){ | ||
+ | document.forms.count.count2.value=current | ||
+ | return | ||
+ | } | ||
+ | else | ||
+ | document.forms.count.count2.value="Only "+dday+ " days, "+dhour+" hours, "+dmin+" minutes, and "+dsec+" seconds left until "+before | ||
+ | setTimeout("countdown(theyear,themonth,theday)",1000) | ||
+ | } | ||
+ | //enter the count down date | ||
+ | countdown(2013,10,05,05,59,00) | ||
+ | </script> | ||
+ | <p align="center"><font face="arial" size="-2">This free script provided by</font><br> | ||
+ | <font face="arial, helvetica" size="-2"><a href="http://javascriptkit.com">JavaScript | ||
+ | Kit</a></font></p> | ||
</html> | </html> | ||
{{:Team:Heidelberg/Templates/EndPage}} | {{:Team:Heidelberg/Templates/EndPage}} |
Revision as of 11:45, 8 September 2013
Find all templates used on the templates page with coresponding explanations.
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
Philosophers StoneLorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.Philosophers StoneLorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.Philosophers StoneLorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. |
Philosophers StoneLorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.Philosophers StoneLorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.Philosophers StoneLorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. |
Philosophers StoneLorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.Philosophers StoneLorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.Philosophers StoneLorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. |
THIS COULD BE YOUR HEADING
THIS COULD BE YOUR HEADING
THIS COULD BE YOUR HEADING
THIS COULD BE YOUR HEADING
THIS COULD BE YOUR HEADING
This free script provided by
JavaScript
Kit