Line 2: | Line 2: | ||
<html> | <html> | ||
− | <head> | + | <head> |
− | + | ||
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet"> | <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet"> | ||
+ | <style> | ||
+ | @media only screen and (max-width: 1024px) { | ||
+ | video {display:none;} | ||
+ | } | ||
+ | .requirement {display:none;} | ||
+ | .w3-container{} | ||
+ | .w3-container:after,.w3-row:after {content:"";display:table;clear:both} | ||
+ | .w3-third {float:left;width:33.33333%} | ||
+ | .w3-bottombar{border-bottom:6px solid #ccc!important} | ||
+ | .w3-hover-light-grey:hover{color:#000!important;background-color:#f1f1f1!important} | ||
+ | .w3-padding {padding:8px 16px!important} | ||
+ | .w3-border-red,.w3-hover-border-red:hover{border-color:#f44336!important} | ||
+ | |||
+ | </style> | ||
</head> | </head> | ||
Line 17: | Line 30: | ||
<td style="border:none;"> | <td style="border:none;"> | ||
<ul> | <ul> | ||
− | + | <li><a style="color: white;" href="https://2016.igem.org/Team:Duesseldorf">Home</a></li> | |
− | + | <li><a href="https://2016.igem.org/Team:Duesseldorf/Description">Description</a></li> | |
− | + | <li><a href="https://2016.igem.org/Team:Duesseldorf/Demonstrate">Demonstrate</a></li> | |
− | + | <li><a href="https://2016.igem.org/Team:Duesseldorf/Proof">Proof</a></li> | |
− | + | <li><a href="https://2016.igem.org/Team:Duesseldorf/Collaborations">Collaborations</a></li> | |
− | + | <li><a href="https://2016.igem.org/Team:Duesseldorf/Outreach">Outreach</a></li> | |
− | + | <li><a href="https://2016.igem.org/Team:Duesseldorf/Hardware">Hardware</a></li> | |
− | + | ||
− | + | ||
<li><a href="https://2016.igem.org/Team:Duesseldorf/Attributions">Attributions</a></li> | <li><a href="https://2016.igem.org/Team:Duesseldorf/Attributions">Attributions</a></li> | ||
+ | <li><a href="https://2016.igem.org/Team:Duesseldorf/Safety">Safety</a></li> | ||
+ | <li><a href="https://2016.igem.org/Team:Duesseldorf/Team">Team</a></li> | ||
+ | <li><a href="https://2016.igem.org/Team:Duesseldorf/Parts">Parts</a></li> | ||
+ | <li><a href="https://2016.igem.org/Team:Duesseldorf/Experiments">Experiments</a></li> | ||
+ | |||
+ | |||
</ul> | </ul> | ||
</td> | </td> | ||
Line 41: | Line 58: | ||
<div id="Navigation" class="navigation"> | <div id="Navigation" class="navigation"> | ||
<ul class="topnav"> | <ul class="topnav"> | ||
− | + | <li><a style="color: black;" href="https://2016.igem.org/Team:Duesseldorf">Home</a></li> | |
− | + | <li><a href="https://2016.igem.org/Team:Duesseldorf/Description">Description</a></li> | |
− | + | <li><a href="https://2016.igem.org/Team:Duesseldorf/Demonstrate">Demonstrate</a></li> | |
− | <li><a href="https://2016.igem.org/Team:Duesseldorf/ | + | <li><a href="https://2016.igem.org/Team:Duesseldorf/Proof">Proof</a></li> |
+ | <li><a href="https://2016.igem.org/Team:Duesseldorf/Collaborations">Collaborations</a></li> | ||
<li><a href="https://2016.igem.org/Team:Duesseldorf/Outreach">Outreach</a></li> | <li><a href="https://2016.igem.org/Team:Duesseldorf/Outreach">Outreach</a></li> | ||
− | + | <li><a href="https://2016.igem.org/Team:Duesseldorf/Hardware">Hardware</a></li> | |
− | <li><a href="https://2016.igem.org/Team:Duesseldorf/ | + | <li><a href="https://2016.igem.org/Team:Duesseldorf/Attributions">Attributions</a></li> |
<li><a href="https://2016.igem.org/Team:Duesseldorf/Safety">Safety</a></li> | <li><a href="https://2016.igem.org/Team:Duesseldorf/Safety">Safety</a></li> | ||
<li><a href="https://2016.igem.org/Team:Duesseldorf/Team">Team</a></li> | <li><a href="https://2016.igem.org/Team:Duesseldorf/Team">Team</a></li> | ||
− | <li><a href="https://2016.igem.org/Team:Duesseldorf/ | + | <li><a href="https://2016.igem.org/Team:Duesseldorf/Parts">Parts</a></li> |
+ | <li><a href="https://2016.igem.org/Team:Duesseldorf/Experiments">Experiments</a></li> | ||
</ul> | </ul> | ||
</div> | </div> | ||
<div class="article"> | <div class="article"> | ||
− | < | + | <div class="w3-container"> |
+ | <div class="w3-row"> | ||
+ | <a href="javascript:void(0)" onclick="openrequirement(event, 'Bronze');"> | ||
+ | <div class="w3-third tablink w3-bottombar w3-hover-light-grey w3-padding">Bronze</div> | ||
+ | </a> | ||
+ | <a href="javascript:void(0)" onclick="openrequirement(event, 'Silver');"> | ||
+ | <div class="w3-third tablink w3-bottombar w3-hover-light-grey w3-padding">Silver</div> | ||
+ | </a> | ||
+ | <a href="javascript:void(0)" onclick="openrequirement(event, 'Gold');"> | ||
+ | <div class="w3-third tablink w3-bottombar w3-hover-light-grey w3-padding">Gold</div> | ||
+ | </a> | ||
+ | </div> | ||
+ | <div id="Bronze" class="w3-container requirement"> | ||
+ | <h2>Bronze</h2> | ||
+ | <p>Bronze text.</p> | ||
+ | </div> | ||
+ | |||
+ | <div id="Silver" class="w3-container requirement"> | ||
+ | <h2>Silver</h2> | ||
+ | <p>Silver text.</p> | ||
+ | </div> | ||
+ | |||
+ | <div id="Gold" class="w3-container requirement"> | ||
+ | <h2>Gold</h2> | ||
+ | <p>Gold text.</p> | ||
+ | </div> | ||
+ | </div> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Line 108: | Line 139: | ||
</div> | </div> | ||
</div> | </div> | ||
+ | <script> | ||
+ | function openrequirement(evt, requirementName) { | ||
+ | var i, x, tablinks; | ||
+ | x = document.getElementsByClassName("requirement"); | ||
+ | for (i = 0; i < x.length; i++) { | ||
+ | x[i].style.display = "none"; | ||
+ | } | ||
+ | tablinks = document.getElementsByClassName("tablink"); | ||
+ | for (i = 0; i < x.length; i++) { | ||
+ | tablinks[i].className = tablinks[i].className.replace(" w3-border-red", ""); | ||
+ | } | ||
+ | document.getElementById(requirementName).style.display = "block"; | ||
+ | evt.currentTarget.firstElementChild.className += " w3-border-red"; | ||
+ | } | ||
+ | </script> | ||
</body> | </body> |
Revision as of 13:07, 18 October 2016
<div class="w3-third tablink w3-bottombar w3-hover-light-grey w3-padding">Bronze</div>
<div class="w3-third tablink w3-bottombar w3-hover-light-grey w3-padding">Silver</div>
<div class="w3-third tablink w3-bottombar w3-hover-light-grey w3-padding">Gold</div>
Bronze
Bronze text.
Silver
Silver text.
Gold
Gold text.