jwzumwalt Posted June 28, 2020 Share Posted June 28, 2020 Your code for a slideshow located at - https://www.w3schools.com/howto/howto_js_slideshow.asp will not work as written. It is missing instructions to execute the script. <body onload="showSlides()"> Link to comment Share on other sites More sharing options...
dsonesuk Posted June 28, 2020 Share Posted June 28, 2020 Depending which one you are referring to, all similar, var slideIndex = 1; showSlides(slideIndex); var slideIndex = 0; showSlides(); var slideIndex = [1,1];/* Class the members of each slideshow group with different CSS classes */var slideId = ["mySlides1", "mySlides2"] showSlides(1, 0); showSlides(1, 1); And will start the code, AS LONG as this sideshow code is below the html that makes up the slideshow content. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now