HANSONGTSENG (Talk | contribs) |
HANSONGTSENG (Talk | contribs) |
||
Line 259: | Line 259: | ||
<script> | <script> | ||
− | + | dc = document.getElementsByClassName("dropdown-content"); | |
+ | console.log(dc); | ||
setTimeout(unexpand(), 1000); | setTimeout(unexpand(), 1000); | ||
function unexpand() { | function unexpand() { | ||
− | + | for (var i = dc.length - 1; i >= 0; i--) { | |
− | } | + | console.log(dc[i]); |
+ | dc[i].style.display = "none"; | ||
+ | } | ||
</script> | </script> | ||
Revision as of 02:38, 20 June 2018
PROJECT
Description