Template:CalgaryHeader
From 2009.igem.org
(Difference between revisions)
(41 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{ | ||
- | background-color: # | + | background-color: #222222; |
+ | font: 11px Arial; | ||
+ | color: #888888; | ||
+ | padding: 5px 5px 5px 5px; | ||
} | } | ||
+ | b{ | ||
+ | color: #ffffff; | ||
+ | } | ||
+ | .heading{ | ||
+ | color: #000; | ||
+ | font: 14px century gothic; | ||
+ | padding: 5px 5px 2px 5px; | ||
+ | font-weight: bold; | ||
+ | } | ||
.titlebg{ | .titlebg{ | ||
position: absolute; | position: absolute; | ||
- | top | + | top: 0px; |
- | + | ||
background-color: #000000; | background-color: #000000; | ||
- | width: | + | width: 965px; |
height: 50px; | height: 50px; | ||
/* for IE */ | /* for IE */ | ||
Line 27: | Line 80: | ||
.title{ | .title{ | ||
position: absolute; | position: absolute; | ||
- | top: | + | top: 0px; |
float: left; | float: left; | ||
font: 35px Trebuchet MS; | font: 35px Trebuchet MS; | ||
Line 39: | Line 92: | ||
z-index: 1; | z-index: 1; | ||
position: absolute; | position: absolute; | ||
- | top | + | top: 0px; |
- | + | ||
height: 293px; | height: 293px; | ||
- | |||
} | } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
.menu{ | .menu{ | ||
z-index: 5; | z-index: 5; | ||
- | |||
position: absolute; | position: absolute; | ||
- | top: | + | top: 220px; |
font: 18px Trebuchet MS; | font: 18px Trebuchet MS; | ||
text-align: center; | text-align: center; | ||
Line 64: | Line 106: | ||
.menubg{ | .menubg{ | ||
position: absolute; | position: absolute; | ||
- | top: | + | top: 243px; |
- | + | ||
background-color: #000000; | background-color: #000000; | ||
- | width: | + | width: 965px; |
height: 50px; | height: 50px; | ||
/* for IE */ | /* for IE */ | ||
Line 75: | Line 116: | ||
z-index:2; | z-index:2; | ||
} | } | ||
- | + | a:link{color:#fff;} | |
+ | a:visited{color:#fff;} | ||
+ | a:active{color:#fff;} | ||
</style> | </style> | ||
Line 89: | Line 132: | ||
UNIVERSITY OF CALGARY | UNIVERSITY OF CALGARY | ||
</div> | </div> | ||
- | <div | + | <div id="content0" style="display:none"> |
- | <img src="http:// | + | <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> | ||
+ | <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 127: | Line 191: | ||
.outer{ | .outer{ | ||
padding:0px 0 0 0; | padding:0px 0 0 0; | ||
- | width: | + | width:965px; |
margin:auto; | margin:auto; | ||
position:relative; | position:relative; | ||
Line 140: | Line 204: | ||
} | } | ||
ul#nav { | ul#nav { | ||
- | width: | + | width:965px; |
height:25px; | height:25px; | ||
Line 148: | Line 212: | ||
position: relative; | position: relative; | ||
float: left; | float: left; | ||
- | width: | + | width:193px; |
height:25px; | height:25px; | ||
color:#fff; | color:#fff; | ||
Line 165: | Line 229: | ||
border:none; | border:none; | ||
height:193px; | height:193px; | ||
- | width: | + | width:193px; |
background:#000; | background:#000; | ||
/*opacity for IE5+*/ | /*opacity for IE5+*/ | ||
Line 177: | Line 241: | ||
ul#nav li li a{ | ul#nav li li a{ | ||
color:#fff; | color:#fff; | ||
- | padding:2px 5px 2px | + | padding:2px 5px 2px 5px; |
display:block; | display:block; | ||
} | } | ||
Line 192: | Line 256: | ||
ul#nav li li a:hover{color:#000; background-color: #fff;} | ul#nav li li a:hover{color:#000; background-color: #fff;} | ||
ul#nav li p {padding:0px;} | ul#nav li p {padding:0px;} | ||
- | ul#nav li.last,ul#nav li.last ul{border:none;width: | + | ul#nav li.last,ul#nav li.last ul{border:none;width:193px;} |
</style> | </style> | ||
Line 200: | Line 264: | ||
<ul id="nav"> | <ul id="nav"> | ||
<li> | <li> | ||
- | <p | + | <p><br/><a href="https://2009.igem.org/Team:Calgary"> HOME</a></p> |
Line 208: | Line 272: | ||
<ul> | <ul> | ||
<li><a href="https://2009.igem.org/Team:Calgary/Team">Team</a></li> | <li><a href="https://2009.igem.org/Team:Calgary/Team">Team</a></li> | ||
- | <li><a href="https://2009.igem.org/Team:Calgary/Team# | + | <li><a href="https://2009.igem.org/Team:Calgary/Team#under">Undergraduates</a></li> |
- | <li><a href="https://2009.igem.org/Team:Calgary/Team# | + | <li><a href="https://2009.igem.org/Team:Calgary/Team#facil">Facilitators</a></li> |
- | + | <li><a href="https://2009.igem.org/Team:Calgary/Team#uni">Our University</a></li> | |
+ | <li><a href="https://2009.igem.org/Team:Calgary/Acknowledgments">Acknowledgments</a></li> | ||
</ul> | </ul> | ||
</li> | </li> | ||
Line 218: | Line 283: | ||
<ul> | <ul> | ||
<li><a href="https://2009.igem.org/Team:Calgary/Project">Overall Project</a></li> | <li><a href="https://2009.igem.org/Team:Calgary/Project">Overall Project</a></li> | ||
- | <li><a href="https://2009.igem.org/Team:Calgary/ | + | <li><a href="https://2009.igem.org/Team:Calgary/Parts_Notebook">Notebook & Parts</a></li> |
<li><a href="https://2009.igem.org/Team:Calgary/Lab">Lab</a></li> | <li><a href="https://2009.igem.org/Team:Calgary/Lab">Lab</a></li> | ||
<li><a href="https://2009.igem.org/Team:Calgary/Modelling">Modelling</a></li> | <li><a href="https://2009.igem.org/Team:Calgary/Modelling">Modelling</a></li> | ||
Line 228: | Line 293: | ||
<li> | <li> | ||
<p><br /> | <p><br /> | ||
- | <a href="#"> | + | <a href="#"> EXTRA</a></p> |
<ul> | <ul> | ||
- | + | <li><a href="https://2009.igem.org/Team:Calgary/News">News</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/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 237: | Line 306: | ||
<a href="https://2009.igem.org/Team:Calgary/Sponsors"> SPONSORS</a></p> | <a href="https://2009.igem.org/Team:Calgary/Sponsors"> SPONSORS</a></p> | ||
<ul> | <ul> | ||
- | <li><a href="https://2009.igem.org/Team:Calgary/Sponsors# | + | <li><a href="https://2009.igem.org/Team:Calgary/Sponsors#ps">Platinum Sponsors</a></li> |
- | <li><a href="https://2009.igem.org/Team:Calgary/Sponsors# | + | <li><a href="https://2009.igem.org/Team:Calgary/Sponsors#gs">Gold Sponsors</a></li> |
- | <li><a href="https://2009.igem.org/Team:Calgary/Sponsors# | + | <li><a href="https://2009.igem.org/Team:Calgary/Sponsors#ss">Silver Sponsors</a></li> |
- | <li><a href="https://2009.igem.org/Team:Calgary/Sponsors# | + | <li><a href="https://2009.igem.org/Team:Calgary/Sponsors#bs">Bronze Sponsors</a></li> |
- | <li><a href="https://2009.igem.org/Team:Calgary/Sponsors# | + | <li><a href="https://2009.igem.org/Team:Calgary/Sponsors#cp">Community Partners</a></li> |
</ul> | </ul> | ||
</li> | </li> | ||
Line 247: | Line 316: | ||
</div> | </div> | ||
</div> | </div> | ||
- | |||
- | |||
- |
Latest revision as of 20:30, 5 November 2009
UNIVERSITY OF CALGARY