-
Notifications
You must be signed in to change notification settings - Fork 0
/
disabled-state.html
64 lines (49 loc) · 1.69 KB
/
disabled-state.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Dropdowns</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/bootstrap-theme.min.css">
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
</head>
<body>
<p>This next set of pagination demonstrates use of a disabled link. We are on page three, and for some reason, page two is disabled. Is there a good reason to show disabled links?</p>
<p>You can set the "disabled" or "active" class to highlight the current page</p>
<ul class="pagination">
<li><a href="#">1</a>
</li>
<li class="disabled"><a href="#">2</a>
</li>
<li class="active"><a href="#">3</a>
</li>
</ul>
<p>You can specify pagination-lg or pagination-sm to resize the buttons</p>
<ul class="pagination pagination-lg">
<li><a href="#">1</a>
</li>
<li class="disabled"><a href="#">2</a>
</li>
<li class="active"><a href="#">3</a>
</li>
</ul>
<p>Use the pager class to generate simple prev/next buttons</p>
<ul class="pager">
<li><a href="#">Previous</a>
</li>
<li><a href="#">Next</a>
</li>
</ul>
<p>Align the pager to the left and right sides of the screen by adding the "previous" and "next" classes to the li items</p>
<ul class="pager">
<li class="previous">
<a href="#">
<< Previous</a>
</li>
<li class="next"><a href="#">Next >></a>
</li>
</ul>
</body>
</html>