-
Notifications
You must be signed in to change notification settings - Fork 6
/
demo.html
84 lines (82 loc) · 2.84 KB
/
demo.html
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<!DOCTYPE html>
<html lang="en">
<head>
<title>Bootstrap Dynamic Tabs</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="bootstrap-dynamic-tabs.css">
<script src="bootstrap-dynamic-tabs.js"></script>
</head>
<body>
<div class="container">
<h3>Tabs</h3>
<h4>Resize browser to see responsiveness</h4>
<br>
<ul id="mytabs" class="nav nav-pills">
<li class="active"><a href="#home" data-toggle="pill">Home</a></li>
<li><a href="#menu1" data-toggle="pill">This is Menu item 1</a></li>
<li><a href="#menu2" data-toggle="pill">This is Menu item 2</a></li>
<li><a href="#menu3" data-toggle="pill">This is Menu item 3</a></li>
<li><a href="#menu4" data-toggle="pill">This is Menu item 4</a></li>
<li><a href="#menu5" data-toggle="pill">This is Menu item 5</a></li>
<li><a href="#menu6" data-toggle="pill">This is Menu item 6</a></li>
<li><a href="#menu7" data-toggle="pill">This is Menu item 7</a></li>
<li><a href="#menu8" data-toggle="pill">This is Menu item 8</a></li>
<li><a href="#menu9" data-toggle="pill">This is Menu item 9</a></li>
<li><a href="#menu10" data-toggle="pill">This is Menu item 10</a></li>
</ul>
<div class="tab-content">
<div id="home" class="tab-pane fade in active">
<h3>HOME</h3>
<p>Some content.</p>
</div>
<div id="menu1" class="tab-pane fade">
<h3>Menu 1</h3>
<p>Some content in menu 1.</p>
</div>
<div id="menu2" class="tab-pane fade">
<h3>Menu 2</h3>
<p>Some content in menu 2.</p>
</div>
<div id="menu3" class="tab-pane fade">
<h3>Menu 3</h3>
<p>Some content in menu 2.</p>
</div>
<div id="menu4" class="tab-pane fade">
<h3>Menu 4</h3>
<p>Some content in menu 2.</p>
</div>
<div id="menu5" class="tab-pane fade">
<h3>Menu 5</h3>
<p>Some content in menu 2.</p>
</div>
<div id="menu6" class="tab-pane fade">
<h3>Menu 6</h3>
<p>Some content in menu 2.</p>
</div>
<div id="menu7" class="tab-pane fade">
<h3>Menu 7</h3>
<p>Some content in menu 2.</p>
</div>
<div id="menu8" class="tab-pane fade">
<h3>Menu 8</h3>
<p>Some content in menu 2.</p>
</div>
<div id="menu9" class="tab-pane fade">
<h3>Menu 9</h3>
<p>Some content in menu 2.</p>
</div>
<div id="menu10" class="tab-pane fade">
<h3>Menu 10</h3>
<p>Some content in menu 2.</p>
</div>
</div>
<script>
$("#mytabs").bootstrapDynamicTabs();
</script>
</div>
</body>
</html>