Tommyrpg1010 (Talk | contribs) |
Tommyrpg1010 (Talk | contribs) |
||
Line 507: | Line 507: | ||
//document.getElementById("section0").style.property = background-image: | //document.getElementById("section0").style.property = background-image: | ||
+ | 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 == 5) i = 0; |
Revision as of 20:00, 15 October 2018