NOAH AGENCIES ‘N’ MARINE SERVICES PTE LTD

slides.length) {slideIndex = 1} if (n < 1) {slideIndex = slides.length} for (i = 0; i < slides.length; i++) { slides[i].style.display = "none"; } slides[slideIndex-1].style.display = "block"; } function autoplaySlides() { var i; var slides = document.getElementsByClassName("mySlides"); for (i = 0; i slides.length) {slideIndex = 1} slides[slideIndex-1].style.display = "block"; setTimeout(autoplaySlides, 3000); // Change image every 2 seconds } ]]>

Source

Leave a Reply