Difference between revisions of "Team:NYMU-Taipei/Description"

Line 261: Line 261:
 
dc = document.getElementsByClassName("dropdown-content");
 
dc = document.getElementsByClassName("dropdown-content");
 
console.log(dc);
 
console.log(dc);
setTimeout(unexpand(), 3000);
+
setInterval(unexpand(), 3000);
 
function unexpand() {
 
function unexpand() {
 
for (var i = dc.length - 1; i >= 0; i--) {
 
for (var i = dc.length - 1; i >= 0; i--) {

Revision as of 02:41, 20 June 2018

PROJECT
Description