|
|
(74 intermediate revisions not shown) |
Line 1: |
Line 1: |
| + | __NOTOC__ |
| + | {{ETHZ_Basel10_css}} |
| <html> | | <html> |
- | <script type="text/javascript">
| + | <div id="header"> |
- | function getURL(hrefString)
| + | <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> |
- | {
| + | |
- | 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">
| + | |
- | | + | |
- | .firstHeading
| + | |
- | {
| + | |
- | display: none;
| + | |
- | }
| + | |
- | #top-section
| + | |
- | {
| + | |
- | border: 0px;
| + | |
- | height: 18px;
| + | |
- | }
| + | |
- | #p-logo
| + | |
- | {
| + | |
- | display: none;
| + | |
- | }
| + | |
- |
| + | |
- | #menubar
| + | |
- | {
| + | |
- | top: 0px;
| + | |
- | float: left;
| + | |
- | border: none;
| + | |
- | font-size:85%;
| + | |
- | height: 18px;
| + | |
- | }
| + | |
- | #menubar li a
| + | |
- | {
| + | |
- | color: #FFFFFF;
| + | |
- | }
| + | |
- |
| + | |
- | #menubar.right-menu
| + | |
- | {
| + | |
- | text-align: right;
| + | |
- | right: auto;
| + | |
- | background-color: #2A6AB3;
| + | |
- | border-bottom: black 1px solid;
| + | |
- | width: 977px;
| + | |
- | z-index: 7;
| + | |
- | }
| + | |
- | #menubar.left-menu
| + | |
- | {
| + | |
- | text-align: left;
| + | |
- | left: auto;
| + | |
- | width: auto;
| + | |
- | z-index: 8;
| + | |
- | }
| + | |
- |
| + | |
- | #search-controls
| + | |
- | {
| + | |
- | top: 24px;
| + | |
- | overflow :visible;
| + | |
- | display:block;
| + | |
- | background: none;
| + | |
- | width: 975px;
| + | |
- | border: 0;
| + | |
- | margin: 0;
| + | |
- | height: auto;
| + | |
- | text-align: right;
| + | |
- | right: auto;
| + | |
- | }
| + | |
- | #searchInput
| + | |
- | {
| + | |
- | font-size:85%;
| + | |
- | width: 100px;
| + | |
- | color: #000000;
| + | |
- | border: 1;
| + | |
- | padding-right: 2px;
| + | |
- | padding-left: 2px;
| + | |
- | }
| + | |
- | #searchform
| + | |
- | {
| + | |
- | margin: 1px;
| + | |
- | }
| + | |
- | input.searchButton
| + | |
- | {
| + | |
- | font-size:80%;
| + | |
- | margin: 0;
| + | |
- | color: #000000;
| + | |
- | font-weight: normal;
| + | |
- | cursor: hand;
| + | |
- | cursor:pointer;
| + | |
- | padding-right: 2px;
| + | |
- | padding-left: 2px;
| + | |
- | }
| + | |
- | | + | |
- | 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.project{
| + | |
- | background:#D5B145;
| + | |
- | }
| + | |
- | | + | |
- | ul#simple-menu li a.bio{
| + | |
- | background:#049966;
| + | |
- | }
| + | |
- | | + | |
- | ul#simple-menu li a.modeling{
| + | |
- | background:#B94211;
| + | |
- | }
| + | |
- |
| + | |
- | 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;
| + | |
- | }
| + | |
- | | + | |
- | ul#simple-menu li a.current:hover{
| + | |
- | color:#84AAD6;
| + | |
- | background:#fff;
| + | |
- | }
| + | |
- | </style>
| + | |
- | <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" class="project"><span>Project</span></a></li>
| + | |
- | <li><a href="https://2010.igem.org/Team:ETHZ_Basel/Lab" class="bio"><span>Lab</span></a></li>
| + | |
- | <li><a href="https://2010.igem.org/Team:ETHZ_Basel/Lab/notebook" class="bio"><span>Notes</span></a></li>
| + | |
- | <li><a href="https://2010.igem.org/Team:ETHZ_Basel/Parts" class="bio"><span>Parts</span></a></li>
| + | |
- | <li><a href="https://2010.igem.org/Team:ETHZ_Basel/Modeling" class="modeling"><span>Modeling</span></a></li>
| + | |
- | <li><a href="https://2010.igem.org/Team:ETHZ_Basel/ImagingPipeline" class="modeling"><span>Imaging & Control</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>Help</span></a></li>
| + | |
- | <li><a href="https://2010.igem.org/Team:ETHZ_Basel/Open_Problems"><span>Internal</span></a></li>
| + | |
- | </ul>
| + | |
- | <script language="javascript">setPage()</script>
| + | |
| </div> | | </div> |
| </html> | | </html> |