Template:ETHZ Basel10

From 2010.igem.org

(Difference between revisions)
 
(97 intermediate revisions not shown)
Line 1: Line 1:
-
<html xmlns="http://www.w3.org/1999/xhtml">
+
__NOTOC__
-
<head>
+
{{ETHZ_Basel10_css}}
-
<script type="text/javascript">
+
<html>
-
window.onload = setPage();
+
<div id="header">
-
+
<a href="https://2010.igem.org/" target="_blank"><img src="https://static.igem.org/mediawiki/2010/b/b3/ETHZ_Basel_header_left.png"></a><a href="https://2010.igem.org/Team:ETHZ_Basel"><img src="https://static.igem.org/mediawiki/2010/3/35/ETHZ_Basel_header_middle.png"></a><a href="http://www.ethz.ch" target="_blank"><img src="https://static.igem.org/mediawiki/2010/6/6f/ETHZ_Basel_header_right.png"></a>
-
function getURL(hrefString)
+
-
{
+
-
var arr = hrefString.split('/');
+
-
return  (arr.length<2) ? hrefString : arr[arr.length-2].toLowerCase() + arr[arr.length-1].toLowerCase();             
+
-
}
+
-
+
-
function setCurrentLink(arr, crtPage)
+
-
{
+
-
for (var i=0; i<arr.length; i++)
+
-
{
+
-
if(getURL(arr[i].href) == crtPage)
+
-
{
+
-
if (arr[i].parentNode.tagName != "DIV")
+
-
{
+
-
arr[i].className = "current";
+
-
arr[i].parentNode.className = "current";
+
-
}
+
-
}
+
-
}
+
-
}
+
-
+
-
function setPage()
+
-
{
+
-
hrefString = document.location.href ? document.location.href : document.location;
+
-
+
-
if (document.getElementById("ethzheader")!=null)
+
-
setCurrentLink(document.getElementById("ethzheader").getElementsByTagName("a"), getURL(hrefString));
+
-
}
+
-
</script>
+
-
<style type="text/css">
+
-
logo {
+
-
font-family:Verdana, Arial, Helvetica, sans-serif;
+
-
font-size:32px;
+
-
font-weight:bold;
+
-
color:#fff;
+
-
margin:0;
+
-
padding:0;
+
-
}
+
-
 
+
-
university {
+
-
font-family:Verdana, Arial, Helvetica, sans-serif;
+
-
font-size:20px;
+
-
font-weight:bold;
+
-
color:#fff;
+
-
margin:0;
+
-
padding:0;
+
-
float:right;
+
-
}
+
-
+
-
#ethzheader{
+
-
padding:25px 15px 0 15px;
+
-
background:#2A6AB3;
+
-
}
+
-
+
-
ul#simple-menu{
+
-
list-style-type:none;
+
-
width:100%;
+
-
position:relative;
+
-
height:27px;
+
-
font-family:"Trebuchet MS",Arial,sans-serif;
+
-
font-size:13px;
+
-
font-weight:bold;
+
-
margin:0;
+
-
padding:11px 0 0 0;
+
-
}
+
-
+
-
ul#simple-menu li{
+
-
display:block;
+
-
float:left;
+
-
margin:0 0 0 4px;
+
-
height:27px;
+
-
}
+
-
+
-
ul#simple-menu li.left{
+
-
margin:0;
+
-
}
+
-
+
-
ul#simple-menu li a{
+
-
display:block;
+
-
float:left;
+
-
color:#fff;
+
-
background:#84AAD6;
+
-
line-height:27px;
+
-
text-decoration:none;
+
-
padding:0 17px 0 18px;
+
-
height:27px;
+
-
}
+
-
+
-
ul#simple-menu li a.right{
+
-
padding-right:19px;
+
-
}
+
-
+
-
ul#simple-menu li a:hover{
+
-
background:#2E4560;
+
-
}
+
-
+
-
ul#simple-menu li a.current{
+
-
color:#2E4560;
+
-
background:#fff;
+
-
}
+
-
+
-
ul#simple-menu li a.current:hover{
+
-
color:#2E4560;
+
-
background:#fff;
+
-
}
+
-
</style>
+
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+
-
</head>
+
-
<body>
+
-
<div id="ethzheader">
+
-
  <logo>E.lemming</logo>
+
-
  <university>ETHZ Basel</university>
+
-
  <ul id="simple-menu">
+
-
    <li><a href="https://2010.igem.org/Team:ETHZ_Basel"><span>Home</span></a></li>
+
-
    <li><a href="https://2010.igem.org/Team:ETHZ_Basel/Team"><span>Team</span></a></li>
+
-
    <li><a href="https://2010.igem.org/Team:ETHZ_Basel/Project"><span>Project</span></a></li>
+
-
    <li><a href="https://2010.igem.org/Team:ETHZ_Basel/Parts"><span>Parts</span></a></li>
+
-
    <li><a href="https://2010.igem.org/Team:ETHZ_Basel/Modeling"><span>Modeling</span></a></li>
+
-
    <li><a href="https://2010.igem.org/Team:ETHZ_Basel/ImagingPipeline"><span>ImagingPipeline</span></a></li>
+
-
    <li><a href="https://2010.igem.org/Team:ETHZ_Basel/Notebook"><span>Notebook</span></a></li>
+
-
    <li><a href="https://2010.igem.org/Team:ETHZ_Basel/Literature"><span>Literature</span></a></li>
+
-
    <li><a href="https://2010.igem.org/Team:ETHZ_Basel/Help"><span>Wiki-Help</span></a></li>
+
-
  </ul>
+
</div>
</div>
-
</body>
 
</html>
</html>

Latest revision as of 15:15, 7 October 2010