Difference between revisions of "Team:Duesseldorf/Test2"

 
(18 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
 
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
 
<style>
 
<style>
.requirement {display:none;}
 
.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;}
 
 
 
@media only screen and (max-width: 1024px) {
 
@media only screen and (max-width: 1024px) {
 
video {display:none;}
 
video {display:none;}
 
}
 
}
 
</style>
 
</style>
 
 
</head>
 
</head>
  
Line 72: Line 63:
 
</ul>
 
</ul>
 
</div>
 
</div>
 +
<img class="medal" src="https://static.igem.org/mediawiki/2016/0/0d/T--duesseldorf--medalgold-achieved.png">
 +
 
       <div class="article">
 
       <div class="article">
  
 
<video id="Logo" src="https://static.igem.org/mediawiki/2016/b/b7/T--Duesseldorf--Logo-Animation.mov" autoplay="autoplay" width="100%;" height="auto;"></video>
 
<video id="Logo" src="https://static.igem.org/mediawiki/2016/b/b7/T--Duesseldorf--Logo-Animation.mov" autoplay="autoplay" width="100%;" height="auto;"></video>
  
<div class="w3-container">
+
<h2 id="Medal_Criteria">Medal Criteria</h2>
<p> Text </p>
+
<div class="w3-container" style="margin-bottom:50px;margin-top: 20px;">
</div>
+
  <div class="w3-row">
 +
    <a href="javascript:void(0)" onclick="openrequirement(event, 'Bronze');">
 +
      <span class="w3-third tablink w3-bottombar w3-hover-light-grey w3-padding" style="text-align:center;"><img src="https://static.igem.org/mediawiki/2016/a/a8/T--duesseldorf--medalbronze.PNG" style="width: 120px; height:120px; margin:auto;"></span>
 +
    </a>
 +
    <a href="javascript:void(0)" onclick="openrequirement(event, 'Silver');">
 +
      <span class="w3-third tablink w3-bottombar w3-hover-light-grey w3-padding" style="text-align:center;"><img src="https://static.igem.org/mediawiki/2016/a/a0/T--duesseldorf--medalsilver.PNG" style="width: 120px; height:120px; margin:auto;"></span>
 +
    </a>
 +
    <a href="javascript:void(0)" onclick="openrequirement(event, 'Gold');">
 +
      <span class="w3-third tablink w3-bottombar w3-hover-light-grey w3-padding" style="text-align:center;"><img src="https://static.igem.org/mediawiki/2016/8/86/T--duesseldorf--medalgold.PNG" style="width: 120px; height:120px; margin:auto;"></span>
 +
    </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 115: Line 133:
 
     </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-green", "");
 +
  }
 +
  document.getElementById(requirementName).style.display = "block";
 +
  evt.currentTarget.firstElementChild.className += " w3-border-green";
 +
}
 +
</script>
 
</body>
 
</body>

Latest revision as of 11:06, 4 November 2016

Medal Criteria

Bronze

Bronze text.

Silver

Silver text.

Gold

Gold text.