"Slider com controle vertical "
Bootstrap 3.0.0 Snippet by maryloara

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" style="width: 887px;margin-top:40px;">
<div class="row">
<div class="col-md-12">
<!-- Start Carousel -->
<div id="custom_carousel" class="carousel slide" data-ride="carousel">
<div class="row clearfix">
<div class="col-md-2 col-sm-2 column">
<div class="controls">
<ul class="nav">
<li data-target="#custom_carousel" data-slide-to="0" class="active"><a href="#"><small>Conselho de Administração</small></a></li>
<li data-target="#custom_carousel" data-slide-to="1"><a href="#"><small>Conselho Fiscal</small></a></li>
<li data-target="#custom_carousel" data-slide-to="2"><a href="#"><small>Diretoria Executiva</small></a></li>
<li data-target="#custom_carousel" data-slide-to="3"><a href="#"><small>Conselho de Administração de E&P</small></a></li>
<li data-target="#custom_carousel" data-slide-to="4"><a href="#"><small>Conselho Consultivo de E&P</small></a></li>
<li data-target="#custom_carousel" data-slide-to="5"><a href="#"><small>Comitê Executivo de E&P</small></a></li>
<li data-target="#custom_carousel" data-slide-to="6"><a href="#"><small>Comitê Executivo Consultivo de E&P</small></a></li>
<li data-target="#custom_carousel" data-slide-to="7"><a href="#"><small>Comitê Executivo de Gás Natural</small></a></li>
</ul>
</div>
</div>
<div class="col-md-10 col-sm-10 column">
<!-- Wrapper for slides -->
<div class="carousel-inner">
<div class="item active">
<div class="container-fluid">
<div class="row">
<div class="col-md-12 content-membros">
<h2>Membros do Conselho</h2>
<p>example text of an explination for the content seen below</p>
</div>
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
30
31
32
33
34
35
36
37
body {
padding:0;
margin:0;
background:#eee;
}
/*
.container-fluid {
padding:0;
margin:0;
}
*/
.graph {
margin-top: 10px;
box-sizing: border-box;
border-radius: 4px;
background-clip: padding-box;
background-color:#fff;
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.16), 0 2px 5px 0 rgba(0, 0, 0, 0.12);
}
.graph-content {
padding: 10px;
position: relative;
overflow: hidden;
}
.graph-content img {
background-clip: padding-box;
position: relative;
}
.carousel-inner {
padding-bottom:20px;
}
.carousel-inner h2 {
display:inline;
}
.carousel-inner p {
display:inline;
padding-left:10px;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
$(document).ready(function(ev){
$('#custom_carousel').on('slide.bs.carousel', function (evt) {
$('#custom_carousel .controls li.active').removeClass('active');
$('#custom_carousel .controls li:eq('+$(evt.relatedTarget).index()+')').addClass('active');
})
});
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: