Difference between revisions of "Template:BIMATOX Project"

Line 8: Line 8:
 
document.getElementById(id).classList.toggle("show");
 
document.getElementById(id).classList.toggle("show");
 
}
 
}
 
$(document).click(function (e) {
 
    e.stopPropagation();
 
    var container = $(".dropdown");
 
 
    //check if the clicked area is dropDown or not
 
    if (container.has(e.target).length === 0) {
 
        $('.subMenu').hide();
 
    }
 
})
 
  
 
// Close the dropdown if the user clicks outside of it
 
// Close the dropdown if the user clicks outside of it
Line 44: Line 34:
 
 
 
/**************************************************************** MENU ***************************************************************/
 
/**************************************************************** MENU ***************************************************************/
 +
 +
body {
 +
    background-image: url("https://static.igem.org/mediawiki/2017/4/4c/T--Uchile_Biotec--Fondo1.jpg");
 +
    background-color: #cccccc;
 +
}
  
 
.navbar {
 
.navbar {

Revision as of 00:59, 28 October 2017