I have a list of N unique body classes, they all have a corresponding big background image on them. I’m trying to build what essentially boils down to a standard slider but instead of shifting through the li’s in a target class, I’m switching body classes “.one, .two, .three, . four, .five, etc…” using forward and back arrow navigations.
Not really sure how to do this properly, would love some insight?
this is simple solution, I hope that it will help you
So what I have done, I have created select box with the options, you can add them as many as you want, and just put value of option to be your class name, that you want to assign to body.