"Radio Button Tabs"
Bootstrap 2.3.2 Snippet by cruiser8-203x

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/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/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="row">
<div class="span12">
<p class="lead">Bare minimum radio button tabs example:</p>
<div id="tab" class="btn-group" data-toggle="buttons-radio">
<a href="#prices" class="btn active" data-toggle="tab">Prices</a>
<a href="#features" class="btn" data-toggle="tab">Features</a>
<a href="#requests" class="btn" data-toggle="tab">Requests</a>
<a href="#contact" class="btn" data-toggle="tab">Contact</a>
</div>
<div class="tab-content">
<div class="tab-pane active" id="prices">Prices content</div>
<div class="tab-pane" id="features">Features Content</div>
<div class="tab-pane" id="requests">Requests Content</div>
<div class="tab-pane" id="contact">Contact Content</div>
</div>
<hr>
<p class="lead">More complex content example:</p>
<div id="tab" class="btn-group" data-toggle="buttons-radio">
<a href="#prices2" class="btn btn-large btn-info active" data-toggle="tab">Prices</a>
<a href="#features2" class="btn btn-large btn-info" data-toggle="tab">Features</a>
<a href="#requests2" class="btn btn-large btn-info" data-toggle="tab">Requests</a>
<a href="#contact2" class="btn btn-large btn-info" data-toggle="tab">Contact</a>
</div>
<div class="tab-content">
<div class="tab-pane active" id="prices2">
<br>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: