Difference between revisions of "Template:BIMATOX Project"

Line 15: Line 15:
 
       if (myDropdown.classList.contains('show')) {
 
       if (myDropdown.classList.contains('show')) {
 
         myDropdown.classList.remove('show');
 
         myDropdown.classList.remove('show');
 +
  var currMen = $(this).siblings('.dropdown-content');
 +
  $('.dropdown-content').not(currMen).hide();
 +
  currMen.toggle();
 
       }
 
       }
 
   }
 
   }
Line 323: Line 326:
 
   <a href="https://2017.igem.org/Team:UChile_Biotec/Home">Home</a>
 
   <a href="https://2017.igem.org/Team:UChile_Biotec/Home">Home</a>
  
   <div class="dropdownbb">
+
   <div class="dropdown">
 
     <button class="dropbtn" onclick="myFunction()">Team
 
     <button class="dropbtn" onclick="myFunction()">Team
 
       <i class="fa fa-caret-down"></i>
 
       <i class="fa fa-caret-down"></i>

Revision as of 06:04, 27 October 2017