Line 187: | Line 187: | ||
if (slideIndex> slides.length) {slideIndex = 1} | if (slideIndex> slides.length) {slideIndex = 1} | ||
slides[slideIndex-1].style.display = "block"; | slides[slideIndex-1].style.display = "block"; | ||
− | setTimeout(showSlides, | + | setTimeout(showSlides, 2000); // Change image every X000 seconds |
} | } | ||
Revision as of 18:10, 7 July 2017