var slideIndex = 0;
showSlides();
function showSlides() {
var i;
var slides = document.getElementsByClassName(“mySlides”);
for (i = 0; i slides.length) {slideIndex = 1}
slides[slideIndex-1].style.display = “block”;
setTimeout(showSlides, 5000);
}


PHP Code Snippets Powered By : XYZScripts.com