Line 229: | Line 229: | ||
slides[slideIndex-1].style.display = "block"; | slides[slideIndex-1].style.display = "block"; | ||
dots[slideIndex-1].className += " active"; | dots[slideIndex-1].className += " active"; | ||
− | setTimeout(showSlides, | + | setTimeout(showSlides, 500); // Change image every 5 seconds |
} | } | ||
</script> | </script> |
Revision as of 22:32, 17 October 2018