Project Mingde 明德工程
HKU Faculty of Engineering | Department of Civil Engineering | /* When the user clicks on the button, toggle between hiding and showing the dropdown content */ function myFunction() { document.getElementById("myDropdown").classList.toggle("show"); } function filterFunction() { var input, filter, ul, li, a, i; input = document.getElementById("myInput"); filter = input.value.toUpperCase(); div = document.getElementById("myDropdown"); a = div.getElementsByTagName("a"); for (i = 0; i -1) { a[i].style.display = ""; } else { a[i].style.display = "none"; } } }