Bootstrap Carousel w/ Nav

Twitter Bootstrap Carousel with pagination style nav.

HTML

<script src="//netdna.bootstrapcdn.com/twitter-bootstrap/2.0.4/js/bootstrap.min.js"></script>
<div id="myCarousel" class="carousel slide">
  <!-- Carousel items -->
  <div class="carousel-inner">
    <div class="active item">
        <img src="http://placehold.it/300x200/888&text=Item 1" />
        <div class="carousel-caption">This is a caption text</div>
    </div>
    <div class="item">
        <img src="http://placehold.it/300x200/aaa&text=Item 2" />
        <div class="carousel-caption">This is a caption text</div>
    </div>
    <div class="item">
        <img src="http://placehold.it/300x200/444&text=Item 3" />
        <div class="carousel-caption">This is a caption text</div>
    </div>
  </div>
  <!-- Carousel nav -->
  <a class="carousel-control left" href="#myCarousel" data-slide="prev">&lsaquo;</a>
  <a class="carousel-control right" href="#myCarousel" data-slide="next">&rsaquo;</a>
</div>

<a href="#" id="pauseit" >Pause</a>

CSS

@import url('//netdna.bootstrapcdn.com/twitter-bootstrap/2.0.4/css/bootstrap-combined.min.css');

#myCarousel {
  margin-top: 40px;
}
.item {
    width: 250px;
    margin: 0 auto;
}

.item img {
  display: block;
  
}

.carousel-caption {
    text-align: center;
    padding: 10px 40px 30px;
    width: 250px;
    box-sizing: border-box;
    color: white;
    background: -moz-linear-gradient(top,  rgba(0,0,0,0) 20%, rgba(0,0,0,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(20%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,1))); /* Chrome,Safari4+ */ 
    background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 20%,rgba(0,0,0,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(0,0,0,0) 20%,rgba(0,0,0,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(0,0,0,0) 20%,rgba(0,0,0,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(0,0,0,0) 20%,rgba(0,0,0,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#000000',GradientType=0 ); /* IE6-9 */

}

JavaScript

// invoke the carousel
$('#myCarousel').carousel({
  interval: 1000
});

/* SLIDE ON CLICK */

$('#pauseit').click(function() {
    console.log('pause');
    $('#myCarousel').carousel('pause');
});