-
Notifications
You must be signed in to change notification settings - Fork 54
/
example.html
104 lines (103 loc) · 2.69 KB
/
example.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
92
93
94
95
96
97
98
99
100
101
102
103
104
<!DOCTYPE html>
<html>
<head>
<title>Table Fixed Header</title>
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'>
<script src='jquery-1.7.2.min.js'></script>
<link href='bootstrap-2.3.2.css' rel='stylesheet'>
<!-- CSS and JS for table fixed header -->
<link href='table-fixed-header.css' rel='stylesheet'>
<script src='table-fixed-header.js'></script>
<script src='bottom-sticker.js'></script>
<script src='duplicate_rows.js'></script>
</head>
<body>
<div class='container'>
<h2 id='mynav'>| my navigation bar | my navigation bar | my navigation bar | my navigation bar</h2>
<h1>Table Fixed Header</h1>
<table class='table table-bordered table-striped table-fixed-header'>
<thead class='header'>
<tr>
<th colspan='1' rowspan='2'>
A title
</th>
<th colspan='3' rowspan='1'>
A multicolumn title
</th>
<th colspan='1' rowspan='2'>
Comment
</th>
</tr>
<tr>
<th colspan='1' rowspan='1'>
Sub1
</th>
<th colspan='1' rowspan='1'>
Sub2
</th>
<th colspan='1' rowspan='1'>
Sub3
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
Val1
</td>
<td>
Val2
</td>
<td>
Val3
</td>
<td>
Val4
</td>
<td>
Val5
</td>
</tr>
<tr>
<td colspan='1' rowspan='2'>
Bigval
</td>
<td>
Some1
</td>
<td>
Some1
</td>
<td>
Some1
</td>
<td colspan='1' rowspan='2'>
This is awesome
</td>
</tr>
<tr>
<td>
Some2
</td>
<td>
Some2
</td>
<td>
Some2
</td>
</tr>
</tbody>
</table>
<div class="form-actions" id="bottom-sticker">
<input id="btnSubmit" class="btn btn-primary" type="submit" value="Save"/>
<input id="btnCancel" class="btn" type="button" value="Back" onclick="history.go(-1)"/>
</div>
</div>
<script language='javascript' type='text/javascript'>
$(document).ready(function(){
$('.table-fixed-header').fixedHeader();
$("#bottom-sticker").bottomSticker();
});
</script>
</body>
</html>