ewels / CPT-Bootstrap-Carousel

WordPress plugin which generates a custom post type for choosing images and content. Outputs Bootstrap Image Carousel (slider) HTML from a shortcode.
http://wordpress.org/plugins/cpt-bootstrap-carousel/
GNU General Public License v2.0
52 stars 37 forks source link

Option to not pause the carousel on hover #69

Open ewels opened 9 years ago

ewels commented 9 years ago

The bootstrap carousel has the option whether to pause on hover or not: http://getbootstrap.com/javascript/#carousel-usage

Options Name type default description pause string "hover" Pauses the cycling of the carousel on mouseenter and resumes the cycling of the carousel on mouseleave.

Would be nice to add an option to disable this behaviour as we have the javascript already.

Mischu70 commented 3 years ago

This is exactly my problem. When I use an image slide with a height of 500 pixels on my laptop, the slide does not start.

ewels commented 3 years ago

Apologies @Mischu70 - I think I understand your problem now after seeing https://github.com/ewels/CPT-Bootstrap-Carousel/issues/99 (I've deleted my previous replies now that I'm on the same page).

The height of your image shouldn't make any difference, that threw me a bit. But in https://github.com/ewels/CPT-Bootstrap-Carousel/issues/99 you say that you want to disable pause-on-hover. This issue is indeed about adding functionality to give this option to disable pause-on-hover.

However, it is not yet implemented. So I'm afraid that for now this is not possible.