Copy link to clipboard
Copied
Bonjour,
Comment stopper le défilement automatique d'un carousel et le rendre manuel ?
Merci de votre réponse
Bonne journée
MG
pziecina wrote
You cannot stop the rotation completely...
Actually, you can stop it completely if you know how to work with Bootstrap.
Change this:
<div id="carousel1" class="carousel slide hidden-xs" data-ride="carousel">
To this:
<div id="carousel1" class="carousel slide hidden-xs" data-ride="carousel" data-interval="0">
Nancy
Copy link to clipboard
Copied
Can you post a link to the page?
Or as an alternative, tell us which carousel it is, with a link to the plug-in documentation.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
You cannot stop the rotation completely, but -
add this before the closing body tag -
$('.carousel').carousel({
interval: 3000
})
</script>
Then change the interval setting from 3000 to an higher number. It will not stop it completely but you can increase the delay so it does not rotate so often.
Copy link to clipboard
Copied
pziecina wrote
You cannot stop the rotation completely...
Actually, you can stop it completely if you know how to work with Bootstrap.
Change this:
<div id="carousel1" class="carousel slide hidden-xs" data-ride="carousel">
To this:
<div id="carousel1" class="carousel slide hidden-xs" data-ride="carousel" data-interval="0">
Nancy
Copy link to clipboard
Copied
OK super merci à tous...
MG