x
 
1
<!DOCTYPE html>
2
<title>My Example</title>
3
4
<!-- Bootstrap CSS -->
5
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
6
<div class="container-fluid">
7
        
8
<button class="btn btn-info" type="button" data-toggle="collapse" data-target="#footwear" aria-expanded="false" aria-controls="footwear">
9
Heading
10
</button>
11
  
12
<div class="collapse" id="footwear">
13
<p>Collapsible content...</p>
14
</div>
15
16
</div>
17
        
18
<!-- jQuery library -->
19
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
20
<!-- Bootstrap JS -->
21
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
22
23
<!-- Initialize Bootstrap functionality -->
24
<script>
25
// Initialize tooltip component
26
$(function () {
27
  $('[data-toggle="tooltip"]').tooltip()
28
})
29
30
// Initialize popover component
31
$(function () {
32
  $('[data-toggle="popover"]').popover()
33
})
34
</script>