Repository navigation
Expand file tree
/
Copy pathdemo.html
More file actions
126 lines (120 loc) · 3.73 KB
/
Copy pathdemo.html
File metadata and controls
126 lines (120 loc) · 3.73 KB
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<!DOCTYPE>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Conditional Formatting of HTML Tables</title>
<link rel="stylesheet" type="text/css" href="assets/css/style.css">
</head>
<body>
<h1>Conditional Formatting of HTML Tables</h1>
<table cellpadding="0" cellspacing="0">
<thead>
<tr>
<th>Data Group</th>
<th>Sorted Numbers</th>
<th>Numbers with Ties</th>
<th>Some Numbers,<br >Some Not</th>
</tr>
</thead>
<tbody>
<tr class="index" data-compare-group="group1">
<td>Set 1</td>
<td class="center">-6.73</td>
<td class="center">-7.82</td>
<td class="center">-12.16</td>
</tr>
<tr data-compare-group="group1">
<td>Set 1</td>
<td class="center">7.22</td>
<td class="center">-7.82</td>
<td class="center">text</td>
</tr>
<tr class="index" data-compare-group="group2">
<td>Set 2</td>
<td class="center">99.89</td>
<td class="center">-4.75</td>
<td class="center">8.33</td>
</tr>
<tr data-compare-group="group2">
<td>Set 2</td>
<td class="center">85.88</td>
<td class="center">-4.75</td>
<td class="center">4.79</td>
</tr>
<tr data-compare-group="group2">
<td>Set 2</td>
<td class="center">63.24</td>
<td class="center">-4.75</td>
<td class="center">text</td>
</tr>
<tr data-compare-group="group2">
<td>Set 2</td>
<td class="center">9.12</td>
<td class="center">-4.75</td>
<td class="center">2.30</td>
</tr>
<tr data-compare-group="group2">
<td>Set 2</td>
<td class="center">-8.22</td>
<td class="center">-4.75</td>
<td class="center">text</td>
</tr>
<tr class="index" data-compare-group="group3">
<td>Set 3</td>
<td class="center">-6.59</td>
<td class="center">-10.92</td>
<td class="center">9.32</td>
</tr>
<tr data-compare-group="group3">
<td>Set 3</td>
<td class="center">-5.67</td>
<td class="center">-10.92</td>
<td class="center">-2.99</td>
</tr>
<tr data-compare-group="group3">
<td>Set 3</td>
<td class="center">-4.68</td>
<td class="center">5.06</td>
<td class="center">text</td>
</tr>
<tr data-compare-group="group3">
<td>Set 3</td>
<td class="center">-3.87</td>
<td class="center">5.00</td>
<td class="center">4.21</td>
</tr>
<tr data-compare-group="group3">
<td>Set 3</td>
<td class="center">2.22</td>
<td class="center">5.06</td>
<td class="center">-3.89</td>
</tr>
<tr data-compare-group="group3">
<td>Set 3</td>
<td class="center">5.22</td>
<td class="center">-4.38</td>
<td class="center">text</td>
</tr>
<tr data-compare-group="group3">
<td>Set 3</td>
<td class="center">9.323</td>
<td class="center">5.00</td>
<td class="center">100.241</td>
</tr>
<tr data-compare-group="group3">
<td>Set 3</td>
<td class="center">11.54</td>
<td class="center">5.06</td>
<td class="center">0.11</td>
</tr>
<tr data-compare-group="group3">
<td>Set 3</td>
<td class="center">14.229</td>
<td class="center">-4.38</td>
<td class="center">4.5</td>
</tr>
</tbody>
</table>
</body>
<script type="text/javascript" src="assets/js/conditional-formatting.js"></script>
</html>