Jump to content

Multiple auto slideshows on one page

Recommended Posts

I would like multiple auto slideshows on one page with navigation options. It's for a portfolio showcase, I want 6 slideshows for 6 different projects. I have found this code https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_slideshow_auto. I like this, but when I try to change this code to have multiple slideshows, the second or third or … slideshow does not show any photo: it's empty. 

I do not have a lot of experience in building websites. Hope someone can help me out. 

Share this post

Link to post
Share on other sites

IF you have multiple automatic sideshows all running at once, you have to keep note of each of the current slideshow indices, which also has to be updated when any type of navigation is used as you need each slideshow to work Independently.  Its going to be more complex doing this way, and if not done right! could have this page locking or slowing to a crawl.

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now