Difference between revisions of "Template:BIMATOX Project"

Line 12: Line 12:
 
window.onclick = function(e) {
 
window.onclick = function(e) {
 
   if (!e.target.matches('.dropbtn')) {
 
   if (!e.target.matches('.dropbtn')) {
  var currMen = $(this).siblings('.dropdown-menu');
 
  $('.dropdown-menu').not(currMen).hide();
 
  currMen.toggle();
 
 
     var myDropdown = document.getElementById("myDropdown");
 
     var myDropdown = document.getElementById("myDropdown");
 
       if (myDropdown.classList.contains('show')) {
 
       if (myDropdown.classList.contains('show')) {
Line 326: Line 323:
 
   <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="dropdown">
+
   <div class="dropdownbb">
 
     <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:02, 27 October 2017