Line 132: | Line 132: | ||
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, 15000); // Change image every 2 seconds |
} | } | ||
</script> | </script> |
Revision as of 04:53, 12 October 2018
<!DOCTYPE html>
Automatic Slideshow
Change image every 2 seconds: