hmongouachon / rgbKineticSlider

A fully customizable webgl slider based on PixiJs and Gsap
348 stars 40 forks source link

Multiple Sliders on One Page? #2

Open pinkp opened 4 years ago

pinkp commented 4 years ago

Love this its damn cool. I was wondering if it's possible to run more than one slider on a page. What do I need to define a new set of images. I've created another slider and set of images but if I give them a new id like: const Firstimages =... and define them in the script slideImages: Firstimages,

I get this error "Can't find variable: images" as the images loaded is looking for 'images'

Maybe I'm going about this the wrong way? Thanks

hmongouachon commented 3 years ago

Sorry for the late reply. At this moment the slider does not support multipe instances. But I will take care of it if I release a new version. Thanks !