Difference between revisions of "Team:NTHU Formosa"

Line 341: Line 341:
 
       var side = [document.getElementById("mySide_1"), document.getElementById("mySide_2"), document.getElementById("mySide_3"), document.getElementById("mySide_4")];
 
       var side = [document.getElementById("mySide_1"), document.getElementById("mySide_2"), document.getElementById("mySide_3"), document.getElementById("mySide_4")];
  
       // Clear all class
+
       // Clear all class and URLs
 
       for (let i = 0; i < 4; i++) {
 
       for (let i = 0; i < 4; i++) {
 
         side[i].classList.remove(side[i].classList.item(2));
 
         side[i].classList.remove(side[i].classList.item(2));
 +
        side[i].onclick = function() {};
 
       }
 
       }
  
Line 357: Line 358:
 
             side[0].classList.add("Introduction");
 
             side[0].classList.add("Introduction");
 
             side[0].onclick = function() {
 
             side[0].onclick = function() {
               location.href = "https://www.google.com";
+
               location.href = "https://2018.igem.org/Team:NTHU_Formosa/Description";
 
             };
 
             };
 
             side[1].classList.add("Design");
 
             side[1].classList.add("Design");
 +
            side[1].onclick = function() {
 +
              location.href = "https://2018.igem.org/Team:NTHU_Formosa/Design";
 +
            };
 
             side[2].classList.add("Biosafety");
 
             side[2].classList.add("Biosafety");
 +
            side[2].onclick = function() {
 +
              location.href = "https://2018.igem.org/Team:NTHU_Formosa/Safety";
 +
            };
 
             side[3].classList.add("Future_Application");
 
             side[3].classList.add("Future_Application");
 +
            side[3].onclick = function() {
 +
              location.href = "https://2018.igem.org/Team:NTHU_Formosa/Future_Application";
 +
            };
 
             break;
 
             break;
 
           case "2": //Demonstrate
 
           case "2": //Demonstrate
Line 405: Line 415:
 
     <!-- Section 1 -->
 
     <!-- Section 1 -->
 
     <div class="section" id="section1">
 
     <div class="section" id="section1">
       <p>Project</p>
+
       <!-- <p>Project</p>
 
       <a href="https://2018.igem.org/Team:NTHU_Formosa/Description" class="button">Introduction</a>
 
       <a href="https://2018.igem.org/Team:NTHU_Formosa/Description" class="button">Introduction</a>
 
       <br>
 
       <br>
Line 412: Line 422:
 
       <a href="https://2018.igem.org/Team:NTHU_Formosa/Safety" class="button">Biosafety</a>
 
       <a href="https://2018.igem.org/Team:NTHU_Formosa/Safety" class="button">Biosafety</a>
 
       <br>
 
       <br>
       <a href="https://2018.igem.org/Team:NTHU_Formosa/Future_Application" class="button">Future Application</a>
+
       <a href="https://2018.igem.org/Team:NTHU_Formosa/Future_Application" class="button">Future Application</a> -->
 
     </div>
 
     </div>
  

Revision as of 05:15, 10 October 2018

Interactive Cell

Modeling

Human Practices

Human Practices