1. Christoffer Niska
  2. yii-bootstrap
  3. Issues
Issue #90 resolved

option "noNav" on BootCarousel

Peter Kambey
created an issue

I set Carousel in auto rotate image, so I just dont want to show Navigation Button on left and right... it really simple to modify current BootCarousel with new option

public $noNav = false;

..... add this on line 71 if (!$this->noNav) { echo '<a class="carousel-control left" href="#'.$id.'" data-slide="prev">'.$this->prev.'</a>'; echo '<a class="carousel-control right" href="#'.$id.'" data-slide="next">'.$this->next.'</a>'; }

maybe you could add on next release... thx

Comments (2)

  1. Log in to comment