When adding multiple sliders to one page, only the first one is assigned an id
-
First off, I want to say thanks for making a barebones slider block without unnecessary features. I always try to steer my clients away from too many bells and whistles.
My issue is that I can’t add multiple sliders to one page. It appears that the slider containers aren’t assigned an ID, which then throws the error
Cannot set property 'onload' of undefined
when that slider is instantiated. So only the first slider is rendered properly and the slides on the rest just show up as blocks.Also, unrelated — you’re creating a
style
element within thedot-container
element to style the dots, which makes that style impossible to override without js. Would be great if that could be done a style sheet or an option on the element.The page I need help with: [log in to see the link]
- The topic ‘When adding multiple sliders to one page, only the first one is assigned an id’ is closed to new replies.