Difference between revisions of "Team:TUDelft/Head"

Line 71: Line 71:
 
     <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
 
     <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
 
     <script src="https://use.fontawesome.com/b31c04f526.js"></script>
 
     <script src="https://use.fontawesome.com/b31c04f526.js"></script>
 +
<!-- THIS IS FOR DROWDOWNMENU
 +
<script>
 +
var coll = document.getElementsByClassName("collapsible");
 +
var i;
 +
 +
for (i = 0; i < coll.length; i++) {
 +
  coll[i].addEventListener("click", function() {
 +
    this.classList.toggle("active");
 +
    var content = this.nextElementSibling;
 +
    if (content.style.maxHeight){
 +
      content.style.maxHeight = null;
 +
    } else {
 +
      content.style.maxHeight = content.scrollHeight + "px";
 +
    }
 +
  });
 +
}
 +
</script> -->
  
 
     <!-- KATEX
 
     <!-- KATEX

Revision as of 19:28, 9 September 2018

ADOPE