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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...