Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Can’t have more than one UL Slider on page Re: Can’t have more than one UL Slider on page

#135378
herman428
Member

Figured it out.

I’m sure I probably got it backwards, but what worked was saving multiple copies of the slider.js file and relabeling the ID selector.

I think I would have rather had done it the way AlenAbdula had suggested, which also seems “cleaner”, doing it all in the same .js file, but when I tried doing it that way, it did not function for me. I’m sure my structure or syntax may have been wrong, perhaps the way I put it together, but at least now I’ve got it working.

Thank you everyone for your suggestions and help !