0

Sorry for the silly question. I was searching for a carousel with a button. I found this template on Bootply that did exactly what I wanted to do. I'm quite new at developing.

Maybe someone can explain to me how can I get rid of the side scrolling effect. I know that I have to add something to the JavaScript part but I don't know what.

I just want the users to be able to control the slide scrolling by clicking on the buttons on the bottom.

Here's the link of the template : Carousel with buttons

Thank you in advance

S.Ach

jcroskery
  • 135
  • 2
  • 10
S.Ach
  • 19
  • 4

2 Answers2

1

Removing the slide class from <div id="myCarousel" class="carousel slide"> will remove the animation.

gempir
  • 1,791
  • 4
  • 22
  • 46
0

I realized for your question you want to remove auto change the slide after clicked on button by user

    $("button").click(function(){
               $(".carousel").removeClass("slide");
     })  

I found same question in this link. Preventing twitter bootstrap carousel from auto sliding on page load

Hozhabr
  • 454
  • 2
  • 9