Tôi gặp sự cố khi triển khai băng chuyền bootstrap. Bất cứ ai có thể nhìn vào html và js sau đây và cho tôi hướng dẫn về cách thực hiện các slide. .js chưa được chỉnh sửa và băng chuyền được cài đặt trên đơn vị anh hùng cơ thể. Tôi có thực hiện api băng chuyền không? Làm cách nào để xác định băng chuyền tôi đang sử dụng trong tệp .js? Cảm ơn.Thực hiện twitter bootstrap carousel v2.3.2
<div class="carousel">
<!-- Carousel items -->
<div class="carousel-inner">
<!-- Main hero unit for a primary marketing message or call to action -->
<div class="hero-unit">
<h1>Hello, world!</h1>
<p>This is a template for a simple marketing or informational website. It includes a large callout called the hero unit and three supporting pieces of content. Use it as a starting point to create something more unique.</p>
<p><a class="btn btn-primary btn-large">Learn more »</a></p>
</div>
</div>
<!-- Carousel nav -->
<a class="carousel-control left" href="#myCarousel" data-slide="prev">‹</a>
<a class="carousel-control right" href="#myCarousel" data-slide="next">›</a>
</div>
Bạn chưa đăng bất kỳ JS nào? –
tôi nghĩ rằng bootstrap được nối vào các lớp với một $(). Carousel(); loại cuộc gọi. – circusdei