Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How not to stop owl carousel on hover?

Currently the carousel stops when you hover it, I've added autoplayHoverPause:false but it doesn't seem to change anything. Is there another option that I could use to stop it from stopping when it's hovered?

$('.owl-carousel').owlCarousel({
    autoplayHoverPause:false,
    loop:true,
    margin:0,
    nav:true,
    responsive:{
        0:{
            items:1
        },
        600:{
            items:2
        },
        1000:{
            items:4
        }
    }
});
like image 345
Dana Avatar asked Sep 30 '15 08:09

Dana


People also ask

How do I stop my owl carousel from sliding?

In order to stop owl auto play you can trigger the corresponding event: stop. owl.


1 Answers

To stop the slide on hover just add the following to your script:

autoplayHoverPause:true
like image 168
Nadeem Avatar answered Sep 28 '22 10:09

Nadeem