Difference between revisions of "Team:NTHU Formosa"

Line 509: Line 509:
 
           console.log(i);
 
           console.log(i);
 
           document.getElementById("section0").style.backgroundImage = 'url("' + BackgroundImg[i] + '")';
 
           document.getElementById("section0").style.backgroundImage = 'url("' + BackgroundImg[i] + '")';
           if (i == 5) i = 0;
+
           if (i == 4) i = 0;
 
           else i = i + 1;
 
           else i = i + 1;
 
         }
 
         }

Revision as of 20:01, 15 October 2018