Gexuma
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by Gexuma
-
-
I've been using a gallery based on this tutorial https://www.w3schools.com/howto/howto_js_slideshow_gallery.asp, and it works pretty well, but now I've tried to put two on one page and discovered that this doesn't work, as the variables become shared by both. This leads to them not being independent of one another. I've been trying to figure out a way to do this without creating new sets of variables and classes for each new slideshow on the same page, but I've had no luck. How would I go about efficiently making multiple slideshows?
Creating multiple slideshow galleries
in JavaScript
Posted
Thanks for the answer, I'll give that a go.