Reputation: 1469
I am trying to implement Carousel to my project.. Everything is working fine, except, based on the specs, I HAVE TO HIDE, the previous button, if i am on the first slide... and hide the next button, if i am on the last slide.. Is there a way to handle this?
Thank you
Upvotes: 2
Views: 2435
Reputation: 626
Have you tried removing the carousel controls via removing "carousel-control left/right" classes.
<a class="carousel-control left" href="#myCarousel" data-slide="prev"> < </a>
<a class="carousel-control right" href="#myCarousel" data-slide="next"> > </a>
Upvotes: 3