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.
$('.flexslider'.).remove(); works
but when you use pause or play you get is not a function in the console.
What is interesting is I can get it to pause by doing something like:
$('#flexslider-slider').flexslider({
slideshow: false,
});
But you wrap that in a .click function it doesn't work.
Anything help would be cool, thanks.
Comments
Comment #2
amaria CreditAttribution: amaria commentedUse
$('#slider').flexslider("pause")
. See the library documentation.