Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Is there a line of jQuery I can run to just pause the thing manually?
I have a slideshow, when they click it brings up a small window (sort of like colorbox) but then that disappears because the slideshow keeps playing and it thinks it's part of the "slide".
What I'm thinking would be ideal is to just pause the slideshow when they click, and unpause when they click again. Is that possible and is it the best approach?
Due to the way views works I can't easily have the content I want to show be outside the slide, which would make all of this a moot point.
Thanks
Comments
Comment #1
TelFiRE CreditAttribution: TelFiRE commentedI ended up solving this by creating a second view and moving these items outside of the slide. That's probably the better solution.
Still, it would be nice if someone could share how to command it to STOP that would be great as an hour of Googling yielded no results on that front, and I'm sure future Googlers will appreciate it.
Comment #2
minorOffense CreditAttribution: minorOffense commentedThere is an option to pause on hover, but since the colorbox isn't part of FlexSlider that event isn't triggered. 2.x has more events which other libraries can listen on so it may be possible to get a lightbox of sorts to work with the pause functionality.
Comment #2.0
minorOffense CreditAttribution: minorOffense commenteddetails