I am using malsup's Cycle2 plugin for a simple slider. Within each slide I have an animated svg which I want to run only when the slide is active. And th rerun when the slide becomes active once more.
I thought I could use the class cycle-side-active as a trigger, but cannot get it to work.
I use the Cycle plugin regularly, but I have a slightly tricky problem!
I need to include 'prev' and 'next' buttons WITHIN that actual slides (so that the buttons slide with the content) rather than them being static outside of the slides.
So, on the first slide, it has the content, with a small 'next button', and then the following slide has the content, with small 'previous' and 'next; buttons.
Using the standard code works on the first slide for 'next' and the 'previous' button works on the second slide, but the 'next' button doesn't - I assume this is due to it being an exact duplicate on the first 'next' button which is currently hidden in the previous slide.
Any ideas on how to have multiple 'prev' and'next' buttons?