0
|
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
2 <html>
|
|
3 <head>
|
|
4 <meta http-equiv="content-type" content="text/html; charset=utf-8">
|
|
5 <link rel="shortcut icon" type="image/ico" href="http://www.sprymedia.co.uk/media/images/favicon.ico">
|
|
6
|
|
7 <title>FixedHeader example</title>
|
|
8 <style type="text/css" title="currentStyle">
|
|
9 @import "../../media/css/demo_page.css";
|
|
10 @import "../../media/css/demo_table.css";
|
|
11 .FixedHeader_Cloned th { background-color: white; }
|
|
12 </style>
|
|
13 <script type="text/javascript" charset="utf-8" src="../../media/js/jquery.js"></script>
|
|
14 <script type="text/javascript" charset="utf-8" src="../../media/js/jquery.dataTables.js"></script>
|
|
15 <script type="text/javascript" charset="utf-8" src="js/FixedHeader.js"></script>
|
|
16 <script type="text/javascript" charset="utf-8">
|
|
17 $(document).ready( function () {
|
|
18 var oTable = $('#example').dataTable();
|
|
19 new FixedHeader( oTable, { "bottom": true } );
|
|
20
|
|
21 var oTable2 = $('#example2').dataTable();
|
|
22 new FixedHeader( oTable2, { "bottom": true } );
|
|
23 } );
|
|
24 </script>
|
|
25 </head>
|
|
26 <body id="dt_example">
|
|
27 <div id="container">
|
|
28 <div class="full_width big">
|
|
29 FixedHeader example - two tables
|
|
30 </div>
|
|
31
|
|
32 <h1>Preamble</h1>
|
|
33 <p>The following example shows two DataTables enhanced tables both with FixedHeader enabled on them. The footer is also fixed for both table.</p>
|
|
34
|
|
35 <h1>Live example</h1>
|
|
36 <div id="demo">
|
|
37 <table cellpadding="0" cellspacing="0" border="0" class="display" id="example">
|
|
38 <thead>
|
|
39 <tr>
|
|
40 <th>Rendering engine</th>
|
|
41 <th>Browser</th>
|
|
42 <th>Platform(s)</th>
|
|
43 <th>Engine version</th>
|
|
44 <th>CSS grade</th>
|
|
45 </tr>
|
|
46 </thead>
|
|
47 <tbody>
|
|
48 <tr class="gradeX">
|
|
49 <td>Trident</td>
|
|
50 <td>Internet
|
|
51 Explorer 4.0</td>
|
|
52 <td>Win 95+</td>
|
|
53 <td class="center">4</td>
|
|
54 <td class="center">X</td>
|
|
55 </tr>
|
|
56 <tr class="gradeC">
|
|
57 <td>Trident</td>
|
|
58 <td>Internet
|
|
59 Explorer 5.0</td>
|
|
60 <td>Win 95+</td>
|
|
61 <td class="center">5</td>
|
|
62 <td class="center">C</td>
|
|
63 </tr>
|
|
64 <tr class="gradeA">
|
|
65 <td>Trident</td>
|
|
66 <td>Internet
|
|
67 Explorer 5.5</td>
|
|
68 <td>Win 95+</td>
|
|
69 <td class="center">5.5</td>
|
|
70 <td class="center">A</td>
|
|
71 </tr>
|
|
72 <tr class="gradeA">
|
|
73 <td>Trident</td>
|
|
74 <td>Internet
|
|
75 Explorer 6</td>
|
|
76 <td>Win 98+</td>
|
|
77 <td class="center">6</td>
|
|
78 <td class="center">A</td>
|
|
79 </tr>
|
|
80 <tr class="gradeA">
|
|
81 <td>Trident</td>
|
|
82 <td>Internet Explorer 7</td>
|
|
83 <td>Win XP SP2+</td>
|
|
84 <td class="center">7</td>
|
|
85 <td class="center">A</td>
|
|
86 </tr>
|
|
87 <tr class="gradeA">
|
|
88 <td>Trident</td>
|
|
89 <td>AOL browser (AOL desktop)</td>
|
|
90 <td>Win XP</td>
|
|
91 <td class="center">6</td>
|
|
92 <td class="center">A</td>
|
|
93 </tr>
|
|
94 <tr class="gradeA">
|
|
95 <td>Gecko</td>
|
|
96 <td>Firefox 1.0</td>
|
|
97 <td>Win 98+ / OSX.2+</td>
|
|
98 <td class="center">1.7</td>
|
|
99 <td class="center">A</td>
|
|
100 </tr>
|
|
101 <tr class="gradeA">
|
|
102 <td>Gecko</td>
|
|
103 <td>Firefox 1.5</td>
|
|
104 <td>Win 98+ / OSX.2+</td>
|
|
105 <td class="center">1.8</td>
|
|
106 <td class="center">A</td>
|
|
107 </tr>
|
|
108 <tr class="gradeA">
|
|
109 <td>Gecko</td>
|
|
110 <td>Firefox 2.0</td>
|
|
111 <td>Win 98+ / OSX.2+</td>
|
|
112 <td class="center">1.8</td>
|
|
113 <td class="center">A</td>
|
|
114 </tr>
|
|
115 <tr class="gradeA">
|
|
116 <td>Gecko</td>
|
|
117 <td>Firefox 3.0</td>
|
|
118 <td>Win 2k+ / OSX.3+</td>
|
|
119 <td class="center">1.9</td>
|
|
120 <td class="center">A</td>
|
|
121 </tr>
|
|
122 <tr class="gradeA">
|
|
123 <td>Gecko</td>
|
|
124 <td>Camino 1.0</td>
|
|
125 <td>OSX.2+</td>
|
|
126 <td class="center">1.8</td>
|
|
127 <td class="center">A</td>
|
|
128 </tr>
|
|
129 <tr class="gradeA">
|
|
130 <td>Gecko</td>
|
|
131 <td>Camino 1.5</td>
|
|
132 <td>OSX.3+</td>
|
|
133 <td class="center">1.8</td>
|
|
134 <td class="center">A</td>
|
|
135 </tr>
|
|
136 <tr class="gradeA">
|
|
137 <td>Gecko</td>
|
|
138 <td>Netscape 7.2</td>
|
|
139 <td>Win 95+ / Mac OS 8.6-9.2</td>
|
|
140 <td class="center">1.7</td>
|
|
141 <td class="center">A</td>
|
|
142 </tr>
|
|
143 <tr class="gradeA">
|
|
144 <td>Gecko</td>
|
|
145 <td>Netscape Browser 8</td>
|
|
146 <td>Win 98SE+</td>
|
|
147 <td class="center">1.7</td>
|
|
148 <td class="center">A</td>
|
|
149 </tr>
|
|
150 <tr class="gradeA">
|
|
151 <td>Gecko</td>
|
|
152 <td>Netscape Navigator 9</td>
|
|
153 <td>Win 98+ / OSX.2+</td>
|
|
154 <td class="center">1.8</td>
|
|
155 <td class="center">A</td>
|
|
156 </tr>
|
|
157 <tr class="gradeA">
|
|
158 <td>Gecko</td>
|
|
159 <td>Mozilla 1.0</td>
|
|
160 <td>Win 95+ / OSX.1+</td>
|
|
161 <td class="center">1</td>
|
|
162 <td class="center">A</td>
|
|
163 </tr>
|
|
164 <tr class="gradeA">
|
|
165 <td>Gecko</td>
|
|
166 <td>Mozilla 1.1</td>
|
|
167 <td>Win 95+ / OSX.1+</td>
|
|
168 <td class="center">1.1</td>
|
|
169 <td class="center">A</td>
|
|
170 </tr>
|
|
171 <tr class="gradeA">
|
|
172 <td>Gecko</td>
|
|
173 <td>Mozilla 1.2</td>
|
|
174 <td>Win 95+ / OSX.1+</td>
|
|
175 <td class="center">1.2</td>
|
|
176 <td class="center">A</td>
|
|
177 </tr>
|
|
178 <tr class="gradeA">
|
|
179 <td>Gecko</td>
|
|
180 <td>Mozilla 1.3</td>
|
|
181 <td>Win 95+ / OSX.1+</td>
|
|
182 <td class="center">1.3</td>
|
|
183 <td class="center">A</td>
|
|
184 </tr>
|
|
185 <tr class="gradeA">
|
|
186 <td>Gecko</td>
|
|
187 <td>Mozilla 1.4</td>
|
|
188 <td>Win 95+ / OSX.1+</td>
|
|
189 <td class="center">1.4</td>
|
|
190 <td class="center">A</td>
|
|
191 </tr>
|
|
192 <tr class="gradeA">
|
|
193 <td>Gecko</td>
|
|
194 <td>Mozilla 1.5</td>
|
|
195 <td>Win 95+ / OSX.1+</td>
|
|
196 <td class="center">1.5</td>
|
|
197 <td class="center">A</td>
|
|
198 </tr>
|
|
199 <tr class="gradeA">
|
|
200 <td>Gecko</td>
|
|
201 <td>Mozilla 1.6</td>
|
|
202 <td>Win 95+ / OSX.1+</td>
|
|
203 <td class="center">1.6</td>
|
|
204 <td class="center">A</td>
|
|
205 </tr>
|
|
206 <tr class="gradeA">
|
|
207 <td>Gecko</td>
|
|
208 <td>Mozilla 1.7</td>
|
|
209 <td>Win 98+ / OSX.1+</td>
|
|
210 <td class="center">1.7</td>
|
|
211 <td class="center">A</td>
|
|
212 </tr>
|
|
213 <tr class="gradeA">
|
|
214 <td>Gecko</td>
|
|
215 <td>Mozilla 1.8</td>
|
|
216 <td>Win 98+ / OSX.1+</td>
|
|
217 <td class="center">1.8</td>
|
|
218 <td class="center">A</td>
|
|
219 </tr>
|
|
220 <tr class="gradeA">
|
|
221 <td>Gecko</td>
|
|
222 <td>Seamonkey 1.1</td>
|
|
223 <td>Win 98+ / OSX.2+</td>
|
|
224 <td class="center">1.8</td>
|
|
225 <td class="center">A</td>
|
|
226 </tr>
|
|
227 <tr class="gradeA">
|
|
228 <td>Gecko</td>
|
|
229 <td>Epiphany 2.20</td>
|
|
230 <td>Gnome</td>
|
|
231 <td class="center">1.8</td>
|
|
232 <td class="center">A</td>
|
|
233 </tr>
|
|
234 <tr class="gradeA">
|
|
235 <td>Webkit</td>
|
|
236 <td>Safari 1.2</td>
|
|
237 <td>OSX.3</td>
|
|
238 <td class="center">125.5</td>
|
|
239 <td class="center">A</td>
|
|
240 </tr>
|
|
241 <tr class="gradeA">
|
|
242 <td>Webkit</td>
|
|
243 <td>Safari 1.3</td>
|
|
244 <td>OSX.3</td>
|
|
245 <td class="center">312.8</td>
|
|
246 <td class="center">A</td>
|
|
247 </tr>
|
|
248 <tr class="gradeA">
|
|
249 <td>Webkit</td>
|
|
250 <td>Safari 2.0</td>
|
|
251 <td>OSX.4+</td>
|
|
252 <td class="center">419.3</td>
|
|
253 <td class="center">A</td>
|
|
254 </tr>
|
|
255 <tr class="gradeA">
|
|
256 <td>Webkit</td>
|
|
257 <td>Safari 3.0</td>
|
|
258 <td>OSX.4+</td>
|
|
259 <td class="center">522.1</td>
|
|
260 <td class="center">A</td>
|
|
261 </tr>
|
|
262 <tr class="gradeA">
|
|
263 <td>Webkit</td>
|
|
264 <td>OmniWeb 5.5</td>
|
|
265 <td>OSX.4+</td>
|
|
266 <td class="center">420</td>
|
|
267 <td class="center">A</td>
|
|
268 </tr>
|
|
269 <tr class="gradeA">
|
|
270 <td>Webkit</td>
|
|
271 <td>iPod Touch / iPhone</td>
|
|
272 <td>iPod</td>
|
|
273 <td class="center">420.1</td>
|
|
274 <td class="center">A</td>
|
|
275 </tr>
|
|
276 <tr class="gradeA">
|
|
277 <td>Webkit</td>
|
|
278 <td>S60</td>
|
|
279 <td>S60</td>
|
|
280 <td class="center">413</td>
|
|
281 <td class="center">A</td>
|
|
282 </tr>
|
|
283 <tr class="gradeA">
|
|
284 <td>Presto</td>
|
|
285 <td>Opera 7.0</td>
|
|
286 <td>Win 95+ / OSX.1+</td>
|
|
287 <td class="center">-</td>
|
|
288 <td class="center">A</td>
|
|
289 </tr>
|
|
290 <tr class="gradeA">
|
|
291 <td>Presto</td>
|
|
292 <td>Opera 7.5</td>
|
|
293 <td>Win 95+ / OSX.2+</td>
|
|
294 <td class="center">-</td>
|
|
295 <td class="center">A</td>
|
|
296 </tr>
|
|
297 <tr class="gradeA">
|
|
298 <td>Presto</td>
|
|
299 <td>Opera 8.0</td>
|
|
300 <td>Win 95+ / OSX.2+</td>
|
|
301 <td class="center">-</td>
|
|
302 <td class="center">A</td>
|
|
303 </tr>
|
|
304 <tr class="gradeA">
|
|
305 <td>Presto</td>
|
|
306 <td>Opera 8.5</td>
|
|
307 <td>Win 95+ / OSX.2+</td>
|
|
308 <td class="center">-</td>
|
|
309 <td class="center">A</td>
|
|
310 </tr>
|
|
311 <tr class="gradeA">
|
|
312 <td>Presto</td>
|
|
313 <td>Opera 9.0</td>
|
|
314 <td>Win 95+ / OSX.3+</td>
|
|
315 <td class="center">-</td>
|
|
316 <td class="center">A</td>
|
|
317 </tr>
|
|
318 <tr class="gradeA">
|
|
319 <td>Presto</td>
|
|
320 <td>Opera 9.2</td>
|
|
321 <td>Win 88+ / OSX.3+</td>
|
|
322 <td class="center">-</td>
|
|
323 <td class="center">A</td>
|
|
324 </tr>
|
|
325 <tr class="gradeA">
|
|
326 <td>Presto</td>
|
|
327 <td>Opera 9.5</td>
|
|
328 <td>Win 88+ / OSX.3+</td>
|
|
329 <td class="center">-</td>
|
|
330 <td class="center">A</td>
|
|
331 </tr>
|
|
332 <tr class="gradeA">
|
|
333 <td>Presto</td>
|
|
334 <td>Opera for Wii</td>
|
|
335 <td>Wii</td>
|
|
336 <td class="center">-</td>
|
|
337 <td class="center">A</td>
|
|
338 </tr>
|
|
339 <tr class="gradeA">
|
|
340 <td>Presto</td>
|
|
341 <td>Nokia N800</td>
|
|
342 <td>N800</td>
|
|
343 <td class="center">-</td>
|
|
344 <td class="center">A</td>
|
|
345 </tr>
|
|
346 <tr class="gradeA">
|
|
347 <td>Presto</td>
|
|
348 <td>Nintendo DS browser</td>
|
|
349 <td>Nintendo DS</td>
|
|
350 <td class="center">8.5</td>
|
|
351 <td class="center">C/A<sup>1</sup></td>
|
|
352 </tr>
|
|
353 <tr class="gradeC">
|
|
354 <td>KHTML</td>
|
|
355 <td>Konqureror 3.1</td>
|
|
356 <td>KDE 3.1</td>
|
|
357 <td class="center">3.1</td>
|
|
358 <td class="center">C</td>
|
|
359 </tr>
|
|
360 <tr class="gradeA">
|
|
361 <td>KHTML</td>
|
|
362 <td>Konqureror 3.3</td>
|
|
363 <td>KDE 3.3</td>
|
|
364 <td class="center">3.3</td>
|
|
365 <td class="center">A</td>
|
|
366 </tr>
|
|
367 <tr class="gradeA">
|
|
368 <td>KHTML</td>
|
|
369 <td>Konqureror 3.5</td>
|
|
370 <td>KDE 3.5</td>
|
|
371 <td class="center">3.5</td>
|
|
372 <td class="center">A</td>
|
|
373 </tr>
|
|
374 <tr class="gradeX">
|
|
375 <td>Tasman</td>
|
|
376 <td>Internet Explorer 4.5</td>
|
|
377 <td>Mac OS 8-9</td>
|
|
378 <td class="center">-</td>
|
|
379 <td class="center">X</td>
|
|
380 </tr>
|
|
381 <tr class="gradeC">
|
|
382 <td>Tasman</td>
|
|
383 <td>Internet Explorer 5.1</td>
|
|
384 <td>Mac OS 7.6-9</td>
|
|
385 <td class="center">1</td>
|
|
386 <td class="center">C</td>
|
|
387 </tr>
|
|
388 <tr class="gradeC">
|
|
389 <td>Tasman</td>
|
|
390 <td>Internet Explorer 5.2</td>
|
|
391 <td>Mac OS 8-X</td>
|
|
392 <td class="center">1</td>
|
|
393 <td class="center">C</td>
|
|
394 </tr>
|
|
395 <tr class="gradeA">
|
|
396 <td>Misc</td>
|
|
397 <td>NetFront 3.1</td>
|
|
398 <td>Embedded devices</td>
|
|
399 <td class="center">-</td>
|
|
400 <td class="center">C</td>
|
|
401 </tr>
|
|
402 <tr class="gradeA">
|
|
403 <td>Misc</td>
|
|
404 <td>NetFront 3.4</td>
|
|
405 <td>Embedded devices</td>
|
|
406 <td class="center">-</td>
|
|
407 <td class="center">A</td>
|
|
408 </tr>
|
|
409 <tr class="gradeX">
|
|
410 <td>Misc</td>
|
|
411 <td>Dillo 0.8</td>
|
|
412 <td>Embedded devices</td>
|
|
413 <td class="center">-</td>
|
|
414 <td class="center">X</td>
|
|
415 </tr>
|
|
416 <tr class="gradeX">
|
|
417 <td>Misc</td>
|
|
418 <td>Links</td>
|
|
419 <td>Text only</td>
|
|
420 <td class="center">-</td>
|
|
421 <td class="center">X</td>
|
|
422 </tr>
|
|
423 <tr class="gradeX">
|
|
424 <td>Misc</td>
|
|
425 <td>Lynx</td>
|
|
426 <td>Text only</td>
|
|
427 <td class="center">-</td>
|
|
428 <td class="center">X</td>
|
|
429 </tr>
|
|
430 <tr class="gradeC">
|
|
431 <td>Misc</td>
|
|
432 <td>IE Mobile</td>
|
|
433 <td>Windows Mobile 6</td>
|
|
434 <td class="center">-</td>
|
|
435 <td class="center">C</td>
|
|
436 </tr>
|
|
437 <tr class="gradeC">
|
|
438 <td>Misc</td>
|
|
439 <td>PSP browser</td>
|
|
440 <td>PSP</td>
|
|
441 <td class="center">-</td>
|
|
442 <td class="center">C</td>
|
|
443 </tr>
|
|
444 <tr class="gradeU">
|
|
445 <td>Other browsers</td>
|
|
446 <td>All others</td>
|
|
447 <td>-</td>
|
|
448 <td class="center">-</td>
|
|
449 <td class="center">U</td>
|
|
450 </tr>
|
|
451 </tbody>
|
|
452 <tfoot>
|
|
453 <tr>
|
|
454 <th>Rendering engine</th>
|
|
455 <th>Browser</th>
|
|
456 <th>Platform(s)</th>
|
|
457 <th>Engine version</th>
|
|
458 <th>CSS grade</th>
|
|
459 </tr>
|
|
460 </tfoot>
|
|
461 </table>
|
|
462
|
|
463 <div class="spacer"></div>
|
|
464
|
|
465 <table cellpadding="0" cellspacing="0" border="0" class="display" id="example2">
|
|
466 <thead>
|
|
467 <tr>
|
|
468 <th>Rendering engine</th>
|
|
469 <th>Browser</th>
|
|
470 <th>Platform(s)</th>
|
|
471 <th>Engine version</th>
|
|
472 <th>CSS grade</th>
|
|
473 </tr>
|
|
474 </thead>
|
|
475 <tbody>
|
|
476 <tr class="gradeX">
|
|
477 <td>Trident</td>
|
|
478 <td>Internet
|
|
479 Explorer 4.0</td>
|
|
480 <td>Win 95+</td>
|
|
481 <td class="center">4</td>
|
|
482 <td class="center">X</td>
|
|
483 </tr>
|
|
484 <tr class="gradeC">
|
|
485 <td>Trident</td>
|
|
486 <td>Internet
|
|
487 Explorer 5.0</td>
|
|
488 <td>Win 95+</td>
|
|
489 <td class="center">5</td>
|
|
490 <td class="center">C</td>
|
|
491 </tr>
|
|
492 <tr class="gradeA">
|
|
493 <td>Trident</td>
|
|
494 <td>Internet
|
|
495 Explorer 5.5</td>
|
|
496 <td>Win 95+</td>
|
|
497 <td class="center">5.5</td>
|
|
498 <td class="center">A</td>
|
|
499 </tr>
|
|
500 <tr class="gradeA">
|
|
501 <td>Trident</td>
|
|
502 <td>Internet
|
|
503 Explorer 6</td>
|
|
504 <td>Win 98+</td>
|
|
505 <td class="center">6</td>
|
|
506 <td class="center">A</td>
|
|
507 </tr>
|
|
508 <tr class="gradeA">
|
|
509 <td>Trident</td>
|
|
510 <td>Internet <br>Explorer 7</td>
|
|
511 <td>Win XP SP2+</td>
|
|
512 <td class="center">7</td>
|
|
513 <td class="center">A</td>
|
|
514 </tr>
|
|
515 <tr class="gradeA">
|
|
516 <td>Trident</td>
|
|
517 <td>AOL browser (AOL desktop)</td>
|
|
518 <td>Win XP</td>
|
|
519 <td class="center">6</td>
|
|
520 <td class="center">A</td>
|
|
521 </tr>
|
|
522 <tr class="gradeA">
|
|
523 <td>Gecko</td>
|
|
524 <td>Firefox 1.0</td>
|
|
525 <td>Win 98+ / OSX.2+</td>
|
|
526 <td class="center">1.7</td>
|
|
527 <td class="center">A</td>
|
|
528 </tr>
|
|
529 <tr class="gradeA">
|
|
530 <td>Gecko</td>
|
|
531 <td>Firefox 1.5</td>
|
|
532 <td>Win 98+ / OSX.2+</td>
|
|
533 <td class="center">1.8</td>
|
|
534 <td class="center">A</td>
|
|
535 </tr>
|
|
536 <tr class="gradeA">
|
|
537 <td>Gecko</td>
|
|
538 <td>Firefox 2.0</td>
|
|
539 <td>Win 98+ / OSX.2+</td>
|
|
540 <td class="center">1.8</td>
|
|
541 <td class="center">A</td>
|
|
542 </tr>
|
|
543 <tr class="gradeA">
|
|
544 <td>Gecko</td>
|
|
545 <td>Firefox 3.0</td>
|
|
546 <td>Win 2k+ / OSX.3+</td>
|
|
547 <td class="center">1.9</td>
|
|
548 <td class="center">A</td>
|
|
549 </tr>
|
|
550 <tr class="gradeA">
|
|
551 <td>Gecko</td>
|
|
552 <td>Camino 1.0</td>
|
|
553 <td>OSX.2+</td>
|
|
554 <td class="center">1.8</td>
|
|
555 <td class="center">A</td>
|
|
556 </tr>
|
|
557 <tr class="gradeA">
|
|
558 <td>Gecko</td>
|
|
559 <td>Camino 1.5</td>
|
|
560 <td>OSX.3+</td>
|
|
561 <td class="center">1.8</td>
|
|
562 <td class="center">A</td>
|
|
563 </tr>
|
|
564 <tr class="gradeA">
|
|
565 <td>Gecko</td>
|
|
566 <td>Netscape 7.2</td>
|
|
567 <td>Win 95+ / Mac OS 8.6-9.2</td>
|
|
568 <td class="center">1.7</td>
|
|
569 <td class="center">A</td>
|
|
570 </tr>
|
|
571 <tr class="gradeA">
|
|
572 <td>Gecko</td>
|
|
573 <td>Netscape Browser 8</td>
|
|
574 <td>Win 98SE+</td>
|
|
575 <td class="center">1.7</td>
|
|
576 <td class="center">A</td>
|
|
577 </tr>
|
|
578 <tr class="gradeA">
|
|
579 <td>Gecko</td>
|
|
580 <td>Netscape Navigator 9</td>
|
|
581 <td>Win 98+ / OSX.2+</td>
|
|
582 <td class="center">1.8</td>
|
|
583 <td class="center">A</td>
|
|
584 </tr>
|
|
585 <tr class="gradeA">
|
|
586 <td>Gecko</td>
|
|
587 <td>Mozilla 1.0</td>
|
|
588 <td>Win 95+ / OSX.1+</td>
|
|
589 <td class="center">1</td>
|
|
590 <td class="center">A</td>
|
|
591 </tr>
|
|
592 <tr class="gradeA">
|
|
593 <td>Gecko</td>
|
|
594 <td>Mozilla 1.1</td>
|
|
595 <td>Win 95+ / OSX.1+</td>
|
|
596 <td class="center">1.1</td>
|
|
597 <td class="center">A</td>
|
|
598 </tr>
|
|
599 <tr class="gradeA">
|
|
600 <td>Gecko</td>
|
|
601 <td>Mozilla 1.2</td>
|
|
602 <td>Win 95+ / OSX.1+</td>
|
|
603 <td class="center">1.2</td>
|
|
604 <td class="center">A</td>
|
|
605 </tr>
|
|
606 <tr class="gradeA">
|
|
607 <td>Gecko</td>
|
|
608 <td>Mozilla 1.3</td>
|
|
609 <td>Win 95+ / OSX.1+</td>
|
|
610 <td class="center">1.3</td>
|
|
611 <td class="center">A</td>
|
|
612 </tr>
|
|
613 <tr class="gradeA">
|
|
614 <td>Gecko</td>
|
|
615 <td>Mozilla 1.4</td>
|
|
616 <td>Win 95+ / OSX.1+</td>
|
|
617 <td class="center">1.4</td>
|
|
618 <td class="center">A</td>
|
|
619 </tr>
|
|
620 <tr class="gradeA">
|
|
621 <td>Gecko</td>
|
|
622 <td>Mozilla 1.5</td>
|
|
623 <td>Win 95+ / OSX.1+</td>
|
|
624 <td class="center">1.5</td>
|
|
625 <td class="center">A</td>
|
|
626 </tr>
|
|
627 <tr class="gradeA">
|
|
628 <td>Gecko</td>
|
|
629 <td>Mozilla 1.6</td>
|
|
630 <td>Win 95+ / OSX.1+</td>
|
|
631 <td class="center">1.6</td>
|
|
632 <td class="center">A</td>
|
|
633 </tr>
|
|
634 <tr class="gradeA">
|
|
635 <td>Gecko</td>
|
|
636 <td>Mozilla 1.7</td>
|
|
637 <td>Win 98+ / OSX.1+</td>
|
|
638 <td class="center">1.7</td>
|
|
639 <td class="center">A</td>
|
|
640 </tr>
|
|
641 <tr class="gradeA">
|
|
642 <td>Gecko</td>
|
|
643 <td>Mozilla 1.8</td>
|
|
644 <td>Win 98+ / OSX.1+</td>
|
|
645 <td class="center">1.8</td>
|
|
646 <td class="center">A</td>
|
|
647 </tr>
|
|
648 <tr class="gradeA">
|
|
649 <td>Gecko</td>
|
|
650 <td>Seamonkey 1.1</td>
|
|
651 <td>Win 98+ / OSX.2+</td>
|
|
652 <td class="center">1.8</td>
|
|
653 <td class="center">A</td>
|
|
654 </tr>
|
|
655 <tr class="gradeA">
|
|
656 <td>Gecko</td>
|
|
657 <td>Epiphany 2.20</td>
|
|
658 <td>Gnome</td>
|
|
659 <td class="center">1.8</td>
|
|
660 <td class="center">A</td>
|
|
661 </tr>
|
|
662 <tr class="gradeA">
|
|
663 <td>Webkit</td>
|
|
664 <td>Safari 1.2</td>
|
|
665 <td>OSX.3</td>
|
|
666 <td class="center">125.5</td>
|
|
667 <td class="center">A</td>
|
|
668 </tr>
|
|
669 <tr class="gradeA">
|
|
670 <td>Webkit</td>
|
|
671 <td>Safari 1.3</td>
|
|
672 <td>OSX.3</td>
|
|
673 <td class="center">312.8</td>
|
|
674 <td class="center">A</td>
|
|
675 </tr>
|
|
676 <tr class="gradeA">
|
|
677 <td>Webkit</td>
|
|
678 <td>Safari 2.0</td>
|
|
679 <td>OSX.4+</td>
|
|
680 <td class="center">419.3</td>
|
|
681 <td class="center">A</td>
|
|
682 </tr>
|
|
683 <tr class="gradeA">
|
|
684 <td>Webkit</td>
|
|
685 <td>Safari 3.0</td>
|
|
686 <td>OSX.4+</td>
|
|
687 <td class="center">522.1</td>
|
|
688 <td class="center">A</td>
|
|
689 </tr>
|
|
690 <tr class="gradeA">
|
|
691 <td>Webkit</td>
|
|
692 <td>OmniWeb 5.5</td>
|
|
693 <td>OSX.4+</td>
|
|
694 <td class="center">420</td>
|
|
695 <td class="center">A</td>
|
|
696 </tr>
|
|
697 <tr class="gradeA">
|
|
698 <td>Webkit</td>
|
|
699 <td>iPod Touch / iPhone</td>
|
|
700 <td>iPod</td>
|
|
701 <td class="center">420.1</td>
|
|
702 <td class="center">A</td>
|
|
703 </tr>
|
|
704 <tr class="gradeA">
|
|
705 <td>Webkit</td>
|
|
706 <td>S60</td>
|
|
707 <td>S60</td>
|
|
708 <td class="center">413</td>
|
|
709 <td class="center">A</td>
|
|
710 </tr>
|
|
711 <tr class="gradeA">
|
|
712 <td>Presto</td>
|
|
713 <td>Opera 7.0</td>
|
|
714 <td>Win 95+ / OSX.1+</td>
|
|
715 <td class="center">-</td>
|
|
716 <td class="center">A</td>
|
|
717 </tr>
|
|
718 <tr class="gradeA">
|
|
719 <td>Presto</td>
|
|
720 <td>Opera 7.5</td>
|
|
721 <td>Win 95+ / OSX.2+</td>
|
|
722 <td class="center">-</td>
|
|
723 <td class="center">A</td>
|
|
724 </tr>
|
|
725 <tr class="gradeA">
|
|
726 <td>Presto</td>
|
|
727 <td>Opera 8.0</td>
|
|
728 <td>Win 95+ / OSX.2+</td>
|
|
729 <td class="center">-</td>
|
|
730 <td class="center">A</td>
|
|
731 </tr>
|
|
732 <tr class="gradeA">
|
|
733 <td>Presto</td>
|
|
734 <td>Opera 8.5</td>
|
|
735 <td>Win 95+ / OSX.2+</td>
|
|
736 <td class="center">-</td>
|
|
737 <td class="center">A</td>
|
|
738 </tr>
|
|
739 <tr class="gradeA">
|
|
740 <td>Presto</td>
|
|
741 <td>Opera 9.0</td>
|
|
742 <td>Win 95+ / OSX.3+</td>
|
|
743 <td class="center">-</td>
|
|
744 <td class="center">A</td>
|
|
745 </tr>
|
|
746 <tr class="gradeA">
|
|
747 <td>Presto</td>
|
|
748 <td>Opera 9.2</td>
|
|
749 <td>Win 88+ / OSX.3+</td>
|
|
750 <td class="center">-</td>
|
|
751 <td class="center">A</td>
|
|
752 </tr>
|
|
753 <tr class="gradeA">
|
|
754 <td>Presto</td>
|
|
755 <td>Opera 9.5</td>
|
|
756 <td>Win 88+ / OSX.3+</td>
|
|
757 <td class="center">-</td>
|
|
758 <td class="center">A</td>
|
|
759 </tr>
|
|
760 <tr class="gradeA">
|
|
761 <td>Presto</td>
|
|
762 <td>Opera for Wii</td>
|
|
763 <td>Wii</td>
|
|
764 <td class="center">-</td>
|
|
765 <td class="center">A</td>
|
|
766 </tr>
|
|
767 <tr class="gradeA">
|
|
768 <td>Presto</td>
|
|
769 <td>Nokia N800</td>
|
|
770 <td>N800</td>
|
|
771 <td class="center">-</td>
|
|
772 <td class="center">A</td>
|
|
773 </tr>
|
|
774 <tr class="gradeA">
|
|
775 <td>Presto</td>
|
|
776 <td>Nintendo DS browser</td>
|
|
777 <td>Nintendo DS</td>
|
|
778 <td class="center">8.5</td>
|
|
779 <td class="center">C/A<sup>1</sup></td>
|
|
780 </tr>
|
|
781 <tr class="gradeC">
|
|
782 <td>KHTML</td>
|
|
783 <td>Konqureror 3.1</td>
|
|
784 <td>KDE 3.1</td>
|
|
785 <td class="center">3.1</td>
|
|
786 <td class="center">C</td>
|
|
787 </tr>
|
|
788 <tr class="gradeA">
|
|
789 <td>KHTML</td>
|
|
790 <td>Konqureror 3.3</td>
|
|
791 <td>KDE 3.3</td>
|
|
792 <td class="center">3.3</td>
|
|
793 <td class="center">A</td>
|
|
794 </tr>
|
|
795 <tr class="gradeA">
|
|
796 <td>KHTML</td>
|
|
797 <td>Konqureror 3.5</td>
|
|
798 <td>KDE 3.5</td>
|
|
799 <td class="center">3.5</td>
|
|
800 <td class="center">A</td>
|
|
801 </tr>
|
|
802 <tr class="gradeX">
|
|
803 <td>Tasman</td>
|
|
804 <td>Internet Explorer 4.5</td>
|
|
805 <td>Mac OS 8-9</td>
|
|
806 <td class="center">-</td>
|
|
807 <td class="center">X</td>
|
|
808 </tr>
|
|
809 <tr class="gradeC">
|
|
810 <td>Tasman</td>
|
|
811 <td>Internet Explorer 5.1</td>
|
|
812 <td>Mac OS 7.6-9</td>
|
|
813 <td class="center">1</td>
|
|
814 <td class="center">C</td>
|
|
815 </tr>
|
|
816 <tr class="gradeC">
|
|
817 <td>Tasman</td>
|
|
818 <td>Internet Explorer 5.2</td>
|
|
819 <td>Mac OS 8-X</td>
|
|
820 <td class="center">1</td>
|
|
821 <td class="center">C</td>
|
|
822 </tr>
|
|
823 <tr class="gradeA">
|
|
824 <td>Misc</td>
|
|
825 <td>NetFront 3.1</td>
|
|
826 <td>Embedded devices</td>
|
|
827 <td class="center">-</td>
|
|
828 <td class="center">C</td>
|
|
829 </tr>
|
|
830 <tr class="gradeA">
|
|
831 <td>Misc</td>
|
|
832 <td>NetFront 3.4</td>
|
|
833 <td>Embedded devices</td>
|
|
834 <td class="center">-</td>
|
|
835 <td class="center">A</td>
|
|
836 </tr>
|
|
837 <tr class="gradeX">
|
|
838 <td>Misc</td>
|
|
839 <td>Dillo 0.8</td>
|
|
840 <td>Embedded devices</td>
|
|
841 <td class="center">-</td>
|
|
842 <td class="center">X</td>
|
|
843 </tr>
|
|
844 <tr class="gradeX">
|
|
845 <td>Misc</td>
|
|
846 <td>Links</td>
|
|
847 <td>Text only</td>
|
|
848 <td class="center">-</td>
|
|
849 <td class="center">X</td>
|
|
850 </tr>
|
|
851 <tr class="gradeX">
|
|
852 <td>Misc</td>
|
|
853 <td>Lynx</td>
|
|
854 <td>Text only</td>
|
|
855 <td class="center">-</td>
|
|
856 <td class="center">X</td>
|
|
857 </tr>
|
|
858 <tr class="gradeC">
|
|
859 <td>Misc</td>
|
|
860 <td>IE Mobile</td>
|
|
861 <td>Windows Mobile 6</td>
|
|
862 <td class="center">-</td>
|
|
863 <td class="center">C</td>
|
|
864 </tr>
|
|
865 <tr class="gradeC">
|
|
866 <td>Misc</td>
|
|
867 <td>PSP browser</td>
|
|
868 <td>PSP</td>
|
|
869 <td class="center">-</td>
|
|
870 <td class="center">C</td>
|
|
871 </tr>
|
|
872 <tr class="gradeU">
|
|
873 <td>Other browsers</td>
|
|
874 <td>All others</td>
|
|
875 <td>-</td>
|
|
876 <td class="center">-</td>
|
|
877 <td class="center">U</td>
|
|
878 </tr>
|
|
879 </tbody>
|
|
880 <tfoot>
|
|
881 <tr>
|
|
882 <th>Rendering engine</th>
|
|
883 <th>Browser</th>
|
|
884 <th>Platform(s)</th>
|
|
885 <th>Engine version</th>
|
|
886 <th>CSS grade</th>
|
|
887 </tr>
|
|
888 </tfoot>
|
|
889 </table>
|
|
890 </div>
|
|
891 <div class="spacer"></div>
|
|
892
|
|
893
|
|
894 <h1>Initialisation code</h1>
|
|
895 <pre>$(document).ready( function () {
|
|
896 var oTable = $('#example').dataTable();
|
|
897 new FixedHeader( oTable, { "bottom": true } );
|
|
898
|
|
899 var oTable2 = $('#example2').dataTable();
|
|
900 new FixedHeader( oTable2, { "bottom": true } );
|
|
901 } );</pre>
|
|
902
|
|
903 <h1>Examples</h1>
|
|
904 <ul>
|
|
905 <li><a href="index.html">Basic demo with just the HeaderFixed</a></li>
|
|
906 <li><a href="html_table.html">FixedHeader without requiring DataTables</a></li>
|
|
907 <li><a href="two_tables.html">Two tables with FixedHeaders on a single page</a></li>
|
|
908 <li><a href="top_bottom_left_right.html">A spreadsheet style layout with header and footer, left and right columns all fixed.</a></li>
|
|
909 <li><a href="zIndexes.html">Change the display order of the fixed elements (zIndex)</a></li>
|
|
910 </ul>
|
|
911
|
|
912 <p>Empty paragraphs to force scrolling!...</p>
|
|
913 <p style="height:500px;"> </p>
|
|
914
|
|
915
|
|
916 <div id="footer" style="text-align:center;">
|
|
917 <span style="font-size:10px;">
|
|
918 FixedHeader and DataTables © Allan Jardine 2009-2010.<br>
|
|
919 </span>
|
|
920 </div>
|
|
921 </div>
|
|
922 </body>
|
|
923 </html> |