|
|
Line 1: |
Line 1: |
| <html> | | <html> |
- | <link rel="stylesheet" type="text/css" href="/Team:ETH_Zurich/Templates/BxSliderCSS?action=raw&ctype=text/css"> | + | <!--from Template:CalgaryMenu iGEM 2010--> |
- | <link rel="stylesheet" type="text/css" href="/Team:ETH_Zurich/Templates/Projekktor-CSS?action=raw&ctype=text/css">
| + | |
| | | |
- | <style type="text/css"> | + | <head> |
- | /* Author: Pieter van Boheemen */
| + | <script type="text/javascript"> |
- | /* Team: TU Delft */
| + | |
- | #globalWrapper {
| + | |
- | background:rgb(131,186,243);background:linear-gradient(to right,rgb(131,186,243)10%,rgb(53,63,184)40%);background-image:-moz-linear-gradient( left,rgb(131,186,243)10%,rgb(53,63,184)40%);background-image:-webkit-linear-gradient(left,rgb(131,186,243)10%,rgb(53,63,184)40%);background-image:-o-linear-gradient(left,rgb(131,186,243)10%,rgb(53,63,184)40%);background-image:-webkit-gradient(linear,left top,right top,from(rgb(131,186,243)),to(rgb(53,63,184)));border: none;margin: auto;padding: 0;width: 100%;height:100%;font-family: verdana;}
| + | |
- | #content {background:rgb(131,186,243);background:linear-gradient(to right,rgb(131,186,243)10%,rgb(53,63,184)40%);background-image:-moz-linear-gradient( left,rgb(131,186,243)10%,rgb(53,63,184)40%);background-image:-webkit-linear-gradient(left,rgb(131,186,243)10%,rgb(53,63,184)40%);background-image:-o-linear-gradient(left,rgb(131,186,243)10%,rgb(53,63,184)40%);background-image:-webkit-gradient(linear,left top,right top,from(rgb(131,186,243)),to(rgb(53,63,184))); border: none; padding: 0; margin:0; width:100%; height:100%;}
| + | |
- | #bodyContent { border: none; padding:0;margin-right:auto; margin-top:0; width:100%; height:100%;}
| + | |
- | #top-section {height: 15px; margin: 0px; margin-left: auto; margin-right:auto; margin-bottom: 0 !important;
| + | |
- | padding:0; border: none; font-size: 10px;}
| + | |
- | #p-logo { height:1px; display: none;}
| + | |
- | #search-controls { display:block; background: none; position: absolute; top: 100px; right: 40px;}
| + | |
- | .left-menu { width: 500px !important; display:block; margin-top:-80px; border: none; text-align: right;}
| + | |
- | .left-menu ul { border: none; }
| + | |
- | #menubar.right-menu { width:300px; display:block; float:left; margin-top:-80px; border: none;}
| + | |
- | .right-menu ul { border: none; width: 300px;}
| + | |
- | #footer-box { display: none; width: 100%; margin: auto; padding: 0;}
| + | |
- | .visualClear { display: none; }
| + | |
- | #footer { border: none; width: 100%; margin:auto; padding: 0;}
| + | |
- | #catlinks { display: none; }
| + | |
- | .firstHeading { display: none;}
| + | |
- | #f-list a { color: #333; font-size: 10px;}
| + | |
- | #f-list a:hover { color: #666;}
| + | |
- | .printfooter { display: none; }
| + | |
- | #footer ul { margin: 0; padding: 0;}
| + | |
- | #footer ul li { margin-top: 0; margin-bottom: 0; margin-left: 10px; margin-right: 10px; padding: 0;}
| + | |
- | #search-controls { display:none; }
| + | |
- | h3#siteSub { display: none;}
| + | |
- | #contentSub {display: none;}
| + | |
- | p:first-child { display: none;}
| + | |
| | | |
- | .clear | + | // Copyright 2006-2007 javascript-array.com |
- | { clear: both;
| + | |
- | overflow:hidden;
| + | |
- | height: 0
| + | |
- | }
| + | |
| | | |
- | .toc, #toc { display: none; }
| + | var timeout = 500; |
| + | var closetimer = 0; |
| + | var ddmenuitem = 0; |
| | | |
- | html {
| + | // open hidden layer |
- | /* overflow-y: auto;
| + | function mopen(id) |
- | overflow-x: hidden; */
| + | { |
- | } | + | // cancel close timer |
| + | mcancelclosetime(); |
| + | |
| + | // close old layer |
| + | if(ddmenuitem) ddmenuitem.style.visibility = 'hidden'; |
| + | |
| + | // get new layer and show it |
| + | ddmenuitem = document.getElementById(id); |
| + | ddmenuitem.style.visibility = 'visible'; |
| + | |
| + | } |
| + | // close showed layer |
| + | function mclose() |
| + | { |
| + | if(ddmenuitem) ddmenuitem.style.visibility = 'hidden'; |
| + | } |
| + | |
| + | // go close timer |
| + | function mclosetime() |
| + | { |
| + | closetimer = window.setTimeout(mclose, timeout); |
| + | } |
| + | |
| + | // cancel close timer |
| + | function mcancelclosetime() |
| + | { |
| + | if(closetimer) |
| + | { |
| + | window.clearTimeout(closetimer); |
| + | closetimer = null; |
| + | } |
| + | } |
| | | |
- | body
| + | // close layer when click-out |
- | {
| + | document.onclick = mclose; |
- | padding: 0 !important;
| + | |
- | background:rgb(131,186,243);background:linear-gradient(to right,rgb(131,186,243)10%,rgb(53,63,184)40%);background-image:-moz-linear-gradient( left,rgb(131,186,243)10%,rgb(53,63,184)40%);background-image:-webkit-linear-gradient(left,rgb(131,186,243)10%,rgb(53,63,184)40%);background-image:-o-linear-gradient(left,rgb(131,186,243)10%,rgb(53,63,184)40%);background-image:-webkit-gradient(linear,left top,right top,from(rgb(131,186,243)),to(rgb(53,63,184)));
| + | |
- | }
| + | |
| | | |
- | /* Main menu */ | + | </script> |
- | #eth_nav {
| + | |
- | padding: 0;
| + | |
- | left: 10%;
| + | |
- | width: 80%;
| + | |
- | position: relative;
| + | |
- | margin-left: -30px;
| + | |
- | margin-right: -30px;
| + | |
- | }
| + | |
| | | |
- | #eth_nav ul
| + | <style> |
- | { margin: 0;
| + | |
- | padding: 0;
| + | |
- | }
| + | |
| | | |
- | #eth_nav ul li
| + | body{ |
- | { float: left; | + | background-color: #808080; |
- | list-style: none;
| + | } |
- | font: 15px Verdana;
| + | |
- | margin-bottom: 0px;
| + | |
- | }
| + | |
- | /*Standard */
| + | |
- | #eth_nav > ul > li > a
| + | |
- | { display: block;
| + | |
- | width: 60;
| + | |
- | height: 20;
| + | |
- | background:none;
| + | |
- | padding: 5px 10px;
| + | |
- | text-decoration: none;
| + | |
- | color: rgb(241,243,245);
| + | |
- | white-space: nowrap;
| + | |
- | }
| + | |
- | /*when clicked on*/
| + | |
- | #eth_nav > ul > li > strong.selflink | + | |
- | { display: block;
| + | |
- | font-weight:normal !important;
| + | |
- | background:rgb(241,243,245);
| + | |
- | padding: 5px 10px;
| + | |
- | text-decoration: none;
| + | |
- | color: RoyalBlue;
| + | |
- | white-space: nowrap;
| + | |
- | /* border-bottom:2px rgb(241,243,245) solid; */
| + | |
- | border-radius: 18px 18px 0 0;
| + | |
- | } | + | |
| | | |
- | /*when mouse on menu*/
| + | p { |
- | #eth_nav ul li a:hover, #eth_nav ul li.nav_active, #eth_nav ul li.nav_active > a
| + | font-family: Verdana, sans-serif; |
- | { background: rgb(241,243,245); | + | } |
- | color:RoyalBlue;
| + | |
- | /* border-bottom:2px rgb(241,243,245) solid; */
| + | |
- | border-radius: 18px 18px 0 0;
| + | |
- | }
| + | |
- |
| + | |
- | #eth_nav ul li ul
| + | |
- | { margin: 0;
| + | |
- | padding: 0;
| + | |
- | position: absolute;
| + | |
- | visibility: hidden;
| + | |
- | border-top: 1px solid white;
| + | |
- | } | + | |
| | | |
- | #eth_nav ul li ul li
| + | a { |
- | { float: none; | + | font-family: Verdana, sans-serif; |
- | display: inline;
| + | } |
- | } | + | |
| | | |
| + | li{ |
| + | font-family: Verdana, sans-serif; |
| + | } |
| | | |
- | #eth_nav ul li ul li a
| + | h2{ |
- | { | + | color:#0066CC; |
- | width: auto;
| + | } |
- | /*color of the submenus*/
| + | |
- | background:rgb(200,63,63);
| + | |
- | color: rgb(241,243,245);
| + | |
- | position absolute;
| + | |
- | display: block;
| + | |
- | padding: 5px 15px;
| + | |
- | text-decoration: none;
| + | |
- | white-space: nowrap;
| + | |
- | border:none !important;
| + | |
- | border-radius:0 0 0 0 !important;
| + | |
| | | |
- | } | + | h4{ |
| + | color:#003366; |
| + | } |
| | | |
- | #eth_nav ul li ul li:last-child a {
| |
- | border-radius: 0 0 10px 10px;
| |
- | }
| |
- | /*clicked on submenu*/
| |
- | #eth_nav > ul > li > ul > li > strong.selflink
| |
- | { width: auto;
| |
- | background: rgb(131,186,243);
| |
- | color: rgb(241,243,245);
| |
- | display: block;
| |
- | position absolute;
| |
- | padding: 5px 15px;
| |
- | text-decoration: none;
| |
- | white-space: nowrap;
| |
- | }
| |
| | | |
- | #eth_nav > ul > li > ul > li > strong.parent
| + | img.bannerImage{ |
- | { width: auto; | + | margin-top: -56px; |
- | background: rgb(131,186,243);
| + | margin-left: -5px; |
- | color: rgb(241,243,245);
| + | z-index: 0; |
- | display: block;
| + | } |
- | position absolute;
| + | |
- | padding: 5px 15px;
| + | |
- | text-decoration: none;
| + | |
- | white-space: nowrap;
| + | |
- | } | + | |
| | | |
- | #eth_nav > ul > li > ul > li:last-child > strong.selflink {
| |
- | border-radius: 0 0 8px 8px;
| |
- | }
| |
- | /*color when mouse on submenu*/
| |
- | #eth_nav ul li ul li a:hover
| |
- | { background: rgb(131,186,243);
| |
- | color:white;
| |
- | }
| |
| | | |
- | /* Submenus */
| + | div.menuBar{ |
| + | margin-left: -5px; |
| + | width: 920px; |
| + | height: 25px; |
| + | margin-bottom: 20px; |
| + | margin-top: -45px; |
| + | float: left; |
| + | } |
| | | |
- | .eth_submenu {
| |
- | margin: 0 auto;
| |
- | width: 50%;
| |
- | }
| |
| | | |
- | .eth_submenu ul li {
| + | #nav { |
- | float: left;
| + | margin: 0; |
- | list-style: none;
| + | padding: 0; |
- | } | + | z-index: 30; |
| + | position: relative; |
| + | } |
| + | |
| + | #nav li { |
| + | margin: 0; |
| + | padding: 0; |
| + | list-style: none; |
| + | float: left; |
| + | font: bold 12px verdana; |
| + | } |
| | | |
- | .eth_submenu ul li a {
| + | #nav li a { |
- | display: block;
| + | display: block; |
- | background: rgb(131,186,243);
| + | margin: 0 0 0 0; |
- | padding: 5px 20px;
| + | padding: 6px 10px; |
- | position absolute;
| + | width: 82px; |
- | text-decoration: none;
| + | background: #8bff35; |
- | border-right: 1px solid white;
| + | color: #000; |
- | color: RoyalBlue;
| + | text-align: center; |
- | white-space: nowrap;
| + | text-decoration: none; |
- | }
| + | |
| | | |
- | .eth_submenu ul li strong.selflink {
| + | border-right: 2px solid #131313; |
- | display: block;
| + | } |
- | background: none;
| + | |
- | padding: 5px 20px;
| + | |
- | text-decoration: none;
| + | |
- | border-right: 1px solid white;
| + | |
- | color: CornflowerBlue;
| + | |
- | white-space: nowrap;
| + | |
- | } | + | |
| | | |
- | .eth_submenu ul li:last-child a {
| + | #nav li .menuend{ |
- | border-radius: 0 8px 8px 0;
| + | border-right: 2px solid #8bff35; |
- | } | + | width: 66px; |
| + | } |
| | | |
- | .eth_submenu ul li:last-child strong.selflink {
| |
- | border-radius: 0 8px 8px 0;
| |
- | }
| |
| | | |
- | .eth_submenu ul li:first-child {
| + | #nav li a:hover { |
- | display: block;
| + | color: #FFF; |
- | background:none;
| + | } |
- | padding: 5px 20px;
| + | |
- | text-decoration: none;
| + | |
- | border-right: 1px solid white;
| + | |
- | white-space: nowrap;
| + | |
- | border-radius: 8px 0 0 8px;
| + | |
- | } | + | |
| | | |
- | .eth_submenu ul li a:hover {
| + | #nav div { |
- | background: rgb(131,186,243);
| + | position: absolute; |
- | } | + | visibility: hidden; |
| + | margin: 0; |
| + | padding: 0; |
| + | background: #131313; |
| + | } |
| | | |
| + | #nav div a { |
| + | position: relative; |
| + | display: block; |
| + | margin: 0; |
| + | padding: 5px 10px; |
| + | width: 150px; |
| + | white-space: nowrap; |
| + | text-align: left; |
| + | text-decoration: none; |
| | | |
- | /* Page main structure */
| + | left: -2px; |
- | #eth_page {
| + | background: #8bff35; |
- | border: none; margin: auto; padding: 0; width: auto; height:100%;
| + | color: #000; |
- | margin: 0 auto;
| + | font: 12px Verdana; |
- | position: static;
| + | border-left: 2px solid #131313; |
- | height: 100%;
| + | border-right: 3px solid #8bff35; |
- | } | + | } |
| | | |
- | #Marquee1 | + | #nav div a:hover { |
- | { | + | background: #8bff35; |
- | background-color: none;
| + | color: #FFF; |
- | border: none;
| + | border-left: 2px solid #131313; |
- | text-align: center;
| + | border-right: 3px solid #8bff35; |
| + | } |
| | | |
- | }
| + | </style> |
| + | </head> |
| | | |
- | #eth_header {
| |
- | position:fixed;
| |
- | top:0;
| |
- | width: 100%;
| |
- | height: 110px;
| |
- | z-index:10000;
| |
- | }
| |
| | | |
- | #eth_header_igem {
| + | <body> |
- | position: fixed;
| + | |
- | left:95.5%;
| + | |
- | top:5px;
| + | |
- | z-index:10001;
| + | |
- | }
| + | |
- | #Logo {
| + | |
- | position:fixed;
| + | |
- | left:87%;
| + | |
- | top:10px;
| + | |
- | z-index:10001;
| + | |
- | }
| + | |
| | | |
- | #eth_menu {
| + | <div class="menuBar"> |
- | background:rgb(131,186,243);
| + | <ul id="nav"> |
- | background:linear-gradient(to right,rgb(131,186,243)10%,rgb(53,63,184)40%);
| + | |
- | background-image:-moz-linear-gradient( left,rgb(131,186,243)10%,rgb(53,63,184)40%);
| + | |
- | background-image:-webkit-linear-gradient(left,rgb(131,186,243)10%,rgb(53,63,184)40%);
| + | |
- | background-image:-o-linear-gradient(left,rgb(131,186,243)10%,rgb(53,63,184)40%);
| + | |
- | background-image:-webkit-gradient(linear,left top,right top,from(rgb(131,186,243)),to(rgb(53,63,184)));
| + | |
- | border:none;
| + | |
- | margin: 0;
| + | |
- | padding: 0;
| + | |
- | width: 100%;
| + | |
- | position:fixed;
| + | |
- | top:83px;
| + | |
- | z-index:10002;
| + | |
- | }
| + | |
| | | |
- | #eth_content {
| + | <li> |
- | background-color: rgb(241,243,245);
| + | <a href="https://2014.igem.org/Team:ETH_Zurich" |
- | height: 100%;
| + | onmouseover="mopen('m1')" |
- | overflow: hidden;
| + | onmouseout="mclosetime()"> |
- | margin: 0 auto;
| + | Home</a> |
- | padding: 30px;
| + | </li> |
- | border-radius: 8px;
| + | |
- | width: 80%;
| + | |
- | margin-top:78px;
| + | |
- | border-radius: 0px 0px 15px 15px;
| + | |
- |
| + | |
- | }
| + | |
| | | |
- | #eth_content table {
| + | <li> |
- | background-color: #F9F9F9;
| + | <a href="https://2014.igem.org/Team:ETH_Zurich/Team" |
- | border: 1px solid #AAAAAA;
| + | onmouseover="mopen('m2')" |
- | border-collapse: collapse;
| + | onmouseout="mclosetime()"> |
- | color: black;
| + | Team</a> |
- | margin-left:auto;
| + | <div id="m2" |
- | margin-right:auto;
| + | onmouseover="mcancelclosetime()" |
- | }
| + | onmouseout="mclosetime()"> |
| + | <a href="https://igem.org/Team.cgi?year=2014&team_name=ETH_Zurich">Official Team Profile</a> |
| + | <a href="https://2014.igem.org/Team:ETH_Zurich/Team/Attributions">Attributions</a> |
| + | </div> |
| + | </li> |
| | | |
- | #eth_content table th {
| + | <li> |
- | background-color: #F2F2F2;
| + | <a href="https://2014.igem.org/Team:ETH_Zurich/Project" |
- | }
| + | onmouseover="mopen('m3')" |
| + | onmouseout="mclosetime()"> |
| + | Project</a> |
| + | <div id="m3" |
| + | onmouseover="mcancelclosetime()" |
| + | onmouseout="mclosetime()"> |
| + | <a href="https://2010.igem.org/Team:ETH_Zurich/Project">Overview</a> |
| + | </div> |
| + | </li> |
| + | |
| | | |
- | #eth_content table td,th{
| + | <li><a href="https://2014.igem.org/Team:ETH_Zurich/Parts/Parts_Submitted" |
- | border: 1px solid #AAAAAA;
| + | onmouseover="mopen('m4')" |
- | padding: 0.2em;
| + | onmouseout="mclosetime()"> |
- | }
| + | Parts</a> |
| + | <div id="m4" |
| + | onmouseover="mcancelclosetime()" |
| + | onmouseout="mclosetime()"> |
| + | <a href="https://2014.igem.org/Team:ETH_Zurich/Parts">Parts Submitted</a> |
| + | </div> |
| + | </li> |
| | | |
- | #eth_content .tablenoborder {
| |
- | border: 0
| |
- | }
| |
| | | |
- | #eth_content .tablenoborder td {
| + | <li><a href="https://2014.igem.org/Team:ETH_Zurich/Notebook" |
- | border: 0
| + | onmouseover="mopen('m5')" |
- | }
| + | onmouseout="mclosetime()"> |
| + | Notebook</a> |
| + | <div id="m5" |
| + | onmouseover="mcancelclosetime()" |
| + | onmouseout="mclosetime()"> |
| + | <a href="https://2014.igem.org/Team:ETH_Zurich/Notebook/Calendar">Calendar</a> |
| + | <a href="https://2014.igem.org/Team:ETH_Zurich/Notebook/Safety">Safety</a> |
| + | </div> |
| + | </li> |
| | | |
- | #eth_footer {
| |
- | background-color: white;
| |
- | height: 100%;
| |
- | overflow: hidden;
| |
- | margin: 0 auto;
| |
- | margin-bottom:30px;
| |
- | padding: 30px;
| |
- | width: 80%;
| |
- | margin-top:30px;
| |
- | border-radius: 15px 15px 15px 15px;
| |
- | }
| |
| | | |
- | #eth_sponsors {
| + | <li><a href="https://2014.igem.org/Team:ETH_Zurich/Modeling" |
- | width: 100%;
| + | onmouseover="mopen('m6')" |
- | margin: 0px auto;
| + | onmouseout="mclosetime()"> |
- | }
| + | Modelling</a> |
| + | <div id="m6" |
| + | onmouseover="mcancelclosetime()" |
| + | onmouseout="mclosetime()"> |
| + | </div> |
| + | </li> |
| + | </ul> |
| | | |
- | #eth_sponsors table td {
| |
- | padding: 10px;
| |
- | }
| |
| | | |
- | #eth_references { display: none;}
| + | </div> |
| | | |
- | #eth_references li { display: none;}
| |
| | | |
- | #eth_content .eth_imagetable table {
| + | |
- | border: solid 0px black;
| + | |
- | }
| + | |
| | | |
- | #eth_content .eth_imagetable table td {
| + | </body> |
- | vertical-align: top;
| + | |
- | border: solid 0px black;
| + | |
- | }
| + | |
- | | + | |
- | // had a white border background when centered, this fixes it together with .tnone
| + | |
- | .center {
| + | |
- | margin: auto;
| + | |
- | }
| + | |
- | | + | |
- | .tnone {
| + | |
- | border-width: 0;
| + | |
- | }
| + | |
- | | + | |
- | .tleft {
| + | |
- | border-width: 0 !important;
| + | |
- | }
| + | |
- | | + | |
- | .tright {
| + | |
- | border-width: 0 !important;
| + | |
- | margin-left: .5em;
| + | |
- | }
| + | |
- | | + | |
- | ul.bxslider
| + | |
- | {
| + | |
- | margin: auto;
| + | |
- | }
| + | |
- | | + | |
- | .bxslider p
| + | |
- | {
| + | |
- | display: inline;
| + | |
- | }
| + | |
- | | + | |
- | </style>
| + | |
- | | + | |
- | <!-- MathJax (LaTeX for the web) -->
| + | |
- | <script type="text/x-mathjax-config">
| + | |
- | MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}});
| + | |
- | MathJax.Hub.Config({
| + | |
- | TeX: {
| + | |
- | equationNumbers: { autoNumber: "AMS" }
| + | |
- | }
| + | |
- | });
| + | |
- | </script>
| + | |
- | <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
| + | |
- | <script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
| + | |
- | | + | |
- | | + | |
- | | + | |
- | <script type="text/javascript" src="/Team:ETH_Zurich/Templates/JQuery?action=raw&ctype=text/javascript"></script>
| + | |
- | <script type="text/javascript" src="/Team:ETH_Zurich/Templates/JQuery-mousewheel?action=raw&ctype=text/javascript"></script>
| + | |
- | <!-- <script type="text/javascript" src="/Team:ETH_Zurich/Templates/FlexSlider?action=raw&ctype=text/javascript"></script> -->
| + | |
- | <script type="text/javascript" src="/Team:ETH_Zurich/Templates/BxSliderJS?action=raw&ctype=text/javascript"></script>
| + | |
- | <!-- <script type="text/javascript" src="http://mediaplayer.yahoo.com/latest"></script> -->
| + | |
- | <script type="text/javascript" src="/Team:ETH_Zurich/Templates/Projekktor-JS?action=raw&ctype=text/javascript"></script>
| + | |
- | <script type="text/javascript" src="/Team:ETH_Zurich/Templates/Imagemapster-JS?action=raw&ctype=text/javascript"></script>
| + | |
- | | + | |
- | <script type="text/javascript">
| + | |
- | var timeout = 50;
| + | |
- | var closetimer = 0;
| + | |
- | var ddmenuitem = 0;
| + | |
- | | + | |
- | function eth_nav_open()
| + | |
- | { eth_nav_canceltimer();
| + | |
- | eth_nav_close();
| + | |
- | ddmenuitem = $(this).find('ul').eq(0).css('visibility', 'visible');}
| + | |
- | | + | |
- | function eth_nav_close()
| + | |
- | { if(ddmenuitem) ddmenuitem.css('visibility', 'hidden');}
| + | |
- | | + | |
- | function eth_nav_timer()
| + | |
- | { closetimer = window.setTimeout(eth_nav_close, timeout);}
| + | |
- | | + | |
- | function eth_nav_canceltimer()
| + | |
- | { if(closetimer)
| + | |
- | { window.clearTimeout(closetimer);
| + | |
- | closetimer = null;}}
| + | |
- | | + | |
- | $(document).ready(function()
| + | |
- | {
| + | |
- | // Hide partsregistry/igem stuff
| + | |
- | $('.compatibility_div').hide();
| + | |
- | $('.editsection').hide();
| + | |
- | | + | |
- | // Navigation
| + | |
- | $('#eth_nav > ul > li').bind('mouseover', eth_nav_open);
| + | |
- | $('#eth_nav > ul > li').bind('mouseout', eth_nav_timer);
| + | |
- | | + | |
- | $('#eth_nav > ul > li > ul > li > .selflink').parent().parent().parent().addClass('nav_active');
| + | |
- | // $('.nav_active > a').addClass('nav_active');
| + | |
- | | + | |
- | // Enable/disable login/wiki
| + | |
- | if ($('#pt-logout').length) // if "logged on"
| + | |
- | $('#eth_nav > ul > li:last').prev().hide(); // Hide second last menu entry
| + | |
- | else
| + | |
- | $('#eth_nav > ul > li:last').hide(); // Hide last menu entry
| + | |
- | | + | |
- | // Prepare references
| + | |
- | $('#eth_references li').each(function (index, domEle) {
| + | |
- | $(this).prepend('<a name="'+$(this).attr('id')+'"></a>');
| + | |
- | });
| + | |
- | | + | |
- | $('.eth_reference').each(function (index, domEle) {
| + | |
- | var refId = $(this).text().replace('[', '').replace(']', '');
| + | |
- | $(this).html('[<a href="#'+refId+'">'+refId+'</a>]');
| + | |
- | $("#"+refId).show();
| + | |
- | $("#eth_references").show();
| + | |
- | });
| + | |
- | | + | |
- | $('.eth_dontlink a').each(function (index, domEle) {
| + | |
- | var $t = jQuery(this);
| + | |
- | $t.after($t.html());
| + | |
- | $t.remove();
| + | |
- | });
| + | |
- | });
| + | |
- | | + | |
- | // document.onclick = eth_nav_close;
| + | |
- | </script>
| + | |
- | | + | |
- | <head>
| + | |
- | <meta name="viewport" content="width=1380"/>
| + | |
- | </head> | + | |
| </html> | | </html> |
- |
| |
- | <div id="eth_page">
| |
- | <div id="eth_header">[[File:Header2.png|link=https://2014.igem.org/Team:ETH_Zurich|2600px]]</div>
| |
- | <div id="eth_header_igem">[[File:ETH_Zurich_igem_logo.png|70px|link=https://2014.igem.org/Main_Page]]</div>
| |
- |
| |
- | <div class="clear"></div></div>
| |
- | <div id="eth_menu">
| |
- | <div id="eth_nav">
| |
- | *[[Team:ETH_Zurich|Home]]
| |
- | * <html><a name="Team" style="cursor: pointer">Team</a></html>
| |
- | **[[Team:ETH_Zurich/Team|Students]]
| |
- | **[[Team:ETH_Zurich/Supervisors|Advisors/Instructors]]
| |
- | **[https://igem.org/Team.cgi?year=2014&team_name=ETH_Zurich Official Team Profile]
| |
- | **[[Team:ETH_Zurich/Attributions|Attributions & contributions]]
| |
- | **[[Team:ETH_Zurich/References|References]]
| |
- | * [[Team:ETH_Zurich/Project|Project]]
| |
- | * [[Team:ETH_Zurich/Parts|Parts]]
| |
- | * [[Team:ETH_Zurich/Modeling|Modeling]]
| |
- | * [[Team:ETH_Zurich/Notebook|Notebook]]
| |
- | * <html><a name="Human" style="cursor: pointer">Human practice</a></html>
| |
- | **[[Team:ETH_Zurich/Safety|Safety]]
| |
- | * [{{fullurl:Special:UserLogin|returnto={{PAGENAMEE}}}} Login]
| |
- | * <html><a name="WIKI" style="cursor: pointer">WIKI</a></html>
| |
- | **<html><a href="/wiki/index.php?title=Special:UserLogout&returnto=Team:ETH_Zurich/Home;returntoquery=action%3Dedit" title="Log out">Log out</a></html>
| |
- | **<html><a href="https://igem.org/User_Information" title="My account">My account</a></html>
| |
- | ** [{{fullurl:{{PAGENAME}}|action=edit}} Edit page]
| |
- | ** [{{fullurl:{{PAGENAME}}|action=history}} History]
| |
- | ** [{{fullurl:Special:Upload}} Upload new file]
| |
- | <div class="clear"></div>
| |
- | </div>
| |
- | </div>
| |
- | <div id="eth_content">
| |