Tommyrpg1010 (Talk | contribs) |
Tommyrpg1010 (Talk | contribs) |
||
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 == | + | if (i == 4) i = 0; |
else i = i + 1; | else i = i + 1; | ||
} | } |
Revision as of 20:01, 15 October 2018