"price slider"
Bootstrap 3.0.0 Snippet by Madu-rosh

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<div class="container">
<div class="col-md-12">
<div class="carousel slide" id="myCarousel">
<div class="carousel-inner">
<div class="item active">
<div class="col-lg-4 col-xs-4 col-md-4 col-sm-4">
<div class="panel panel-danger">
<div class="panel-heading">
<h3 class="text-center hprice">Basic</h3>
<p class="text-center">Monthly Rental</p>
</div>
<div class="panel-body text-center">
<h3 class="hprice pricetag">
<span class="symbol">$</span>32 <span class="symbol">95c</span></h3>
</div>
<ul class="list-group list-group-flush text-center">
<li class="list-group-item">
<span class="glyphicon glyphicon-earphone"></span> Local Calls <span class="feature_desc">20c per call</span>
</li>
<li class="list-group-item">
<span class="glyphicon glyphicon-phone-alt"></span> National Calls <span class="feature_desc">18c p/m</span>
</li>
<li class="list-group-item">
<span class="glyphicon glyphicon-phone"></span> Mobile Calls <span class="feature_desc">30c p/m</span>
</li>
<li class="list-group-item">
<span class="glyphicon glyphicon-phone"></span> 13/1300 Calls <span class="feature_desc">37c per call</span>
</li>
<li class="list-group-item">
<span class="glyphicon glyphicon-phone"></span> International Calls <span class="feature_desc"> </span>
</li>
</ul>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
.carousel-inner .active.left {
left: -33%;
}
.carousel-inner .next {
left: 33%;
}
.carousel-inner .prev {
left: -33%;
}
.carousel-control.left,
.carousel-control.right {
background-image: none;
}
.item:not(.prev) {
visibility: visible;
}
.item.right:not(.prev) {
visibility: hidden;
}
.rightest {
visibility: visible;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$('#myCarousel').carousel({
interval: 40000
});
$('.carousel .item').each(function() {
var next = $(this).next();
if (!next.length) {
next = $(this).siblings(':first');
}
next.children(':first-child').clone().appendTo($(this));
if (next.next().length > 0) {
next.next().children(':first-child').clone().appendTo($(this)).addClass('rightest');
} else {
$(this).siblings(':first').children(':first-child').clone().appendTo($(this));
}
});
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: