HANSONGTSENG (Talk | contribs) |
HANSONGTSENG (Talk | contribs) |
||
Line 272: | Line 272: | ||
<!-- Team --> | <!-- Team --> | ||
<div class="dropdown"> | <div class="dropdown"> | ||
− | <div> | + | <div id="1h"> |
TEAM | TEAM | ||
</div> | </div> | ||
− | <div class="dropdown-content"> | + | <div class="dropdown-content" id="1i"> |
<a href="https://2018.igem.org/Team:NYMU-Taipei/Team"> | <a href="https://2018.igem.org/Team:NYMU-Taipei/Team"> | ||
Line 294: | Line 294: | ||
<div class="dropdown"> | <div class="dropdown"> | ||
<!-- Project --> | <!-- Project --> | ||
− | <div> | + | <div id="2h"> |
PROJECT | PROJECT | ||
</div> | </div> | ||
− | <div class="dropdown-content"> | + | <div class="dropdown-content" id="2i"> |
<a href="https://2018.igem.org/Team:NYMU-Taipei/Description"> | <a href="https://2018.igem.org/Team:NYMU-Taipei/Description"> | ||
Line 366: | Line 366: | ||
<div class="dropdown"> | <div class="dropdown"> | ||
− | <div > | + | <div id="3h"> |
PARTS | PARTS | ||
</div> | </div> | ||
− | <div class="dropdown-content"> | + | <div class="dropdown-content" id="3i"> |
<a href="https://2018.igem.org/Team:NYMU-Taipei/Parts"> | <a href="https://2018.igem.org/Team:NYMU-Taipei/Parts"> | ||
Line 412: | Line 412: | ||
<div class="dropdown"> | <div class="dropdown"> | ||
− | <div > | + | <div id="4h"> |
HUMAN PRACTICES | HUMAN PRACTICES | ||
</div> | </div> | ||
− | <div class="dropdown-content"> | + | <div class="dropdown-content"id="4i"> |
<a href="https://2018.igem.org/Team:NYMU-Taipei/Human_Practices"> | <a href="https://2018.igem.org/Team:NYMU-Taipei/Human_Practices"> | ||
Line 437: | Line 437: | ||
<div class="dropdown"> | <div class="dropdown"> | ||
− | <div > | + | <div id="5h"> |
AWARDS | AWARDS | ||
</div> | </div> | ||
− | <div class="dropdown-content"> | + | <div class="dropdown-content" id="5i"> |
<a href="https://2018.igem.org/Team:NYMU-Taipei/Applied_Design"> | <a href="https://2018.igem.org/Team:NYMU-Taipei/Applied_Design"> | ||
Line 501: | Line 501: | ||
<div id="dot-side-bar"></div> | <div id="dot-side-bar"></div> | ||
+ | |||
<script type="text/javascript"> | <script type="text/javascript"> | ||
Line 511: | Line 512: | ||
$("#dot-side-bar").html(dots.join().replace(/,/g,'')); | $("#dot-side-bar").html(dots.join().replace(/,/g,'')); | ||
}); | }); | ||
+ | |||
+ | |||
+ | |||
+ | function closeintro(x){ | ||
+ | var intros = document.getElementsByClassName('intro'); | ||
+ | var targetintro = x.target.id.replace('h','i'); | ||
+ | for (var i = intros.length - 1; i >= 0; i--) { | ||
+ | if (intros[i].id != targetintro) { | ||
+ | intros[i].hide(); | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | |||
+ | function openintro(x){ | ||
+ | var targetintro = x.target.id.replace('h','i'); | ||
+ | document.getElementById(targetintro).show();; | ||
+ | } | ||
+ | |||
</script> | </script> |
Revision as of 04:42, 21 August 2018