Template:CalgaryHeader
From 2009.igem.org
(Difference between revisions)
(5 intermediate revisions not shown) | |||
Line 3: | Line 3: | ||
<meta http-equiv="content-type" content="text/html;charset=utf-8" /> | <meta http-equiv="content-type" content="text/html;charset=utf-8" /> | ||
<title>University of Calgary</title> | <title>University of Calgary</title> | ||
+ | |||
+ | |||
+ | <script type="text/javascript"><!-- | ||
+ | var delay=7000 | ||
+ | var ie4=document.all | ||
+ | var curindex=0 | ||
+ | var totalcontent=0 | ||
+ | function get_total(){ | ||
+ | if (ie4){ | ||
+ | while (eval("document.all.content"+totalcontent)) | ||
+ | totalcontent++ | ||
+ | } | ||
+ | else{ | ||
+ | while (document.getElementById("content"+totalcontent)) | ||
+ | totalcontent++ | ||
+ | } | ||
+ | } | ||
+ | function contract_all(){ | ||
+ | for (y=0;y<totalcontent;y++){ | ||
+ | if (ie4) | ||
+ | eval("document.all.content"+y).style.display="none" | ||
+ | else | ||
+ | document.getElementById("content"+y).style.display="none" | ||
+ | } | ||
+ | } | ||
+ | function expand_one(which){ | ||
+ | contract_all() | ||
+ | if (ie4) | ||
+ | eval("document.all.content"+which).style.display="" | ||
+ | else | ||
+ | document.getElementById("content"+which).style.display="" | ||
+ | } | ||
+ | function rotate_content(){ | ||
+ | get_total() | ||
+ | contract_all() | ||
+ | expand_one(curindex) | ||
+ | curindex=(curindex<totalcontent-1)? curindex+1: 0 | ||
+ | setTimeout("rotate_content()",delay) | ||
+ | } | ||
+ | window.onload=rotate_content | ||
+ | //--></script> | ||
</head> | </head> | ||
+ | |||
<style> | <style> | ||
body{ | body{ | ||
Line 90: | Line 132: | ||
UNIVERSITY OF CALGARY | UNIVERSITY OF CALGARY | ||
</div> | </div> | ||
+ | <div id="content0" style="display:none"> | ||
+ | <img src="http://wcmprod2.ucalgary.ca/wcmsupport/files/wcmsupport/images/autumnnorman-b1.jpg" width="965px" height="293px" border="0"></div> | ||
+ | <div id="content1" style="display:none"> | ||
+ | <img src="http://wcmprod2.ucalgary.ca/wcmsupport/files/wcmsupport/images/autumn10norman-b1.jpg" width="965px" height="293px" border="0"></div> | ||
+ | <div id="content2" style="display:none"> | ||
+ | <img src="http://wcmprod2.ucalgary.ca/wcmsupport/files/wcmsupport/images/skyline.jpg" width="965px" height="293px" border="0"></div> | ||
+ | <div id="content3" style="display:none"> | ||
+ | <img src="http://wcmprod2.ucalgary.ca/wcmsupport/files/wcmsupport/images/B1-chicken.jpg" width="965px" height="293px" border="0"></div> | ||
+ | <div id="content4" style="display:none"> | ||
+ | <img src="http://wcmprod2.ucalgary.ca/wcmsupport/files/wcmsupport/images/10.jpg" width="965px" height="293px" border="0"> | ||
+ | </div> | ||
+ | <div id="content5" style="display:none"> | ||
+ | <img src="http://wcmprod2.ucalgary.ca/wcmsupport/files/wcmsupport/images/8.jpg" width="965px" height="293px" border="0"></div> | ||
+ | <div id="content6" style="display:none"> | ||
+ | <img src="http://wcmprod2.ucalgary.ca/wcmsupport/files/wcmsupport/images/B1_ICT2.JPG" width="965px" height="293px" border="0"></div> | ||
+ | <div id="content7" style="display:none"> | ||
+ | <img src="http://wcmprod2.ucalgary.ca/wcmsupport/files/wcmsupport/images/B1_Haskayne.JPG" width="965px" height="293px" border="0"></div> | ||
+ | <div id="content8" style="display:none"> | ||
+ | <img src="http://wcmprod2.ucalgary.ca/wcmsupport/files/wcmsupport/images/archnorman-b1.jpg" width="965px" height="293px" border="0"></div> | ||
+ | <div id="content9" style="display:none"> | ||
+ | <img src="http://wcmprod2.ucalgary.ca/wcmsupport/files/wcmsupport/images/B1-campus.jpg" width="965px" height="293px" border="0"></div> | ||
+ | <div id="content10" style="display:none"> | ||
+ | <img src="http://wcmprod2.ucalgary.ca/wcmsupport/files/wcmsupport/images/B1-arch.jpg" width="965px" height="293px" border="0"></div> | ||
- | |||
</div> | </div> | ||
Line 234: | Line 298: | ||
<li><a href="https://2009.igem.org/Team:Calgary/Blog">Synthetic BLOGology</a></li> | <li><a href="https://2009.igem.org/Team:Calgary/Blog">Synthetic BLOGology</a></li> | ||
<li><a href="https://2009.igem.org/Team:Calgary/Gallery">Gallery</a></li> | <li><a href="https://2009.igem.org/Team:Calgary/Gallery">Gallery</a></li> | ||
+ | <li><a href="https://2009.igem.org/Team:Calgary/Collaborations">Collaborations</a></li> | ||
+ | <li><a href="https://2009.igem.org/Team:Calgary/Mascot">Mr. Super D-Lux</a></li> | ||
</ul> | </ul> | ||
</li> | </li> | ||
Line 250: | Line 316: | ||
</div> | </div> | ||
</div> | </div> | ||
- | |||
- | |||
- |
Latest revision as of 20:30, 5 November 2009
UNIVERSITY OF CALGARY