-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
91 lines (86 loc) · 1.73 KB
/
index.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
85
86
87
88
89
90
91
<html>
<head>
</head>
<body>
<ul>
<li><a href="examples/barebone.html">Barebone Example</a></li>
<li><a href="examples/zepto.html">Zepto Example</a></li>
<li><a href="examples/bootstrap.html">Bootstrap</a></li>
<li><a href="examples/history.html">History support</a></li>
<li><a href="examples/callbacks.html">Callbacks</a></li>
<li><a href="examples/dynamic.html">Dynamic Tabs</a></li>
</ul>
<div id="content">
<div id="tabbed">
<ul class="tab-headers tabs">
<li><a href="#tab1">Tab 1</a></li>
<li><a href="#tab2">Tab 2</a></li>
<li><a href="#tab3">Tab 3</a></li>
</ul>
<div id="tab1" class="tabcontent">
Content 1
</div>
<div id="tab2" class="tabcontent">
Content 2
</div>
<div id="tab3" class="tabcontent">
Content 3
</div>
</div>
<button class="btn" id="previous">Previous</button>
<button class="btn" id="next">Next</button>
</div>
<style>
#content
{
margin: 20px;
}
.hidden
{
display: none;
}
.active
{
color: blue;
}
</style>
<style media="print">
.hidden
{
display: block;
}
.tabs
{
display: none;
}
.btn
{
display: none;
}
.tabcontent
{
margin-bottom: 20px;
}
</style>
<script src="thirdparty/js/jquery-1.7.1.min.js"></script>
<script src="thirdparty/js/signals.min.js"></script>
<script src="thirdparty/js/hasher.min.js"></script>
<script src="jqTabs.min.js"></script>
<script>
$(document).ready(
function()
{
var tabs = new jqTabs($("#tabbed"));
$('#next').click(function()
{
tabs.next();
});
$('#previous').click(function()
{
tabs.previous();
});
}
);
</script>
</body>
</html>