I have a Bootstrap Carousel on my website.
When the user hovers over an element #formcontainer, I\'d like to pause the carousel. And when I hover off, I
#formcontainer
Use carousel cycle method on mouseleave event
mouseleave
$('#formcontainer').hover(function(){ $("#myCarousel4").carousel('pause'); },function(){ $("#myCarousel4").carousel('cycle'); });