Page 1 of 1

Carousel Pause

Posted: Sat May 23, 2020 4:02 pm
by Bucky108
I created an event to stop or pause the Carousel with this Javascript code:

$('#Carousel1').carousel('stop');

I also tried:

$('#Carousel1').carousel('pause');

It throws this error:

Uncaught TypeError: $(...).carousel is not a function

The ID is "Carousel1"

Why is this not working?

Re: Carousel Pause

Posted: Sat May 23, 2020 4:55 pm
by Pablo
In event you can use media event to start and stop the carousel.

Re: Carousel Pause

Posted: Sat May 23, 2020 5:07 pm
by Bucky108
Thanks Pablo.