Mercurial > repos > saskia-hiltemann > ireport
comparison DataTables-1.9.4/extras/FixedHeader/html_table.html @ 0:ac5f9272033b draft
first upload
author | saskia-hiltemann |
---|---|
date | Tue, 01 Jul 2014 11:42:23 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:ac5f9272033b |
---|---|
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="js/FixedHeader.js"></script> | |
15 <script type="text/javascript" charset="utf-8"> | |
16 $(document).ready( function () { | |
17 new FixedHeader( document.getElementById('example') ); | |
18 } ); | |
19 </script> | |
20 </head> | |
21 <body id="dt_example"> | |
22 <div id="container"> | |
23 <div class="full_width big"> | |
24 FixedHeader example - HTML table | |
25 </div> | |
26 | |
27 <h1>Preamble</h1> | |
28 <p>FixedHeader will work standalone as well (i.e. without DataTables), as can be seen in this example. The standard settings can be applied to FixedHeader to enhance the table.</p> | |
29 | |
30 <h1>Live example</h1> | |
31 <div id="demo"> | |
32 <table cellpadding="0" cellspacing="0" border="0" class="display" id="example"> | |
33 <thead> | |
34 <tr> | |
35 <th>Rendering engine</th> | |
36 <th>Browser</th> | |
37 <th>Platform(s)</th> | |
38 <th>Engine version</th> | |
39 <th>CSS grade</th> | |
40 </tr> | |
41 </thead> | |
42 <tbody> | |
43 <tr class="gradeX"> | |
44 <td>Trident</td> | |
45 <td>Internet | |
46 Explorer 4.0</td> | |
47 <td>Win 95+</td> | |
48 <td class="center">4</td> | |
49 <td class="center">X</td> | |
50 </tr> | |
51 <tr class="gradeC"> | |
52 <td>Trident</td> | |
53 <td>Internet | |
54 Explorer 5.0</td> | |
55 <td>Win 95+</td> | |
56 <td class="center">5</td> | |
57 <td class="center">C</td> | |
58 </tr> | |
59 <tr class="gradeA"> | |
60 <td>Trident</td> | |
61 <td>Internet | |
62 Explorer 5.5</td> | |
63 <td>Win 95+</td> | |
64 <td class="center">5.5</td> | |
65 <td class="center">A</td> | |
66 </tr> | |
67 <tr class="gradeA"> | |
68 <td>Trident</td> | |
69 <td>Internet | |
70 Explorer 6</td> | |
71 <td>Win 98+</td> | |
72 <td class="center">6</td> | |
73 <td class="center">A</td> | |
74 </tr> | |
75 <tr class="gradeA"> | |
76 <td>Trident</td> | |
77 <td>Internet Explorer 7</td> | |
78 <td>Win XP SP2+</td> | |
79 <td class="center">7</td> | |
80 <td class="center">A</td> | |
81 </tr> | |
82 <tr class="gradeA"> | |
83 <td>Trident</td> | |
84 <td>AOL browser (AOL desktop)</td> | |
85 <td>Win XP</td> | |
86 <td class="center">6</td> | |
87 <td class="center">A</td> | |
88 </tr> | |
89 <tr class="gradeA"> | |
90 <td>Gecko</td> | |
91 <td>Firefox 1.0</td> | |
92 <td>Win 98+ / OSX.2+</td> | |
93 <td class="center">1.7</td> | |
94 <td class="center">A</td> | |
95 </tr> | |
96 <tr class="gradeA"> | |
97 <td>Gecko</td> | |
98 <td>Firefox 1.5</td> | |
99 <td>Win 98+ / OSX.2+</td> | |
100 <td class="center">1.8</td> | |
101 <td class="center">A</td> | |
102 </tr> | |
103 <tr class="gradeA"> | |
104 <td>Gecko</td> | |
105 <td>Firefox 2.0</td> | |
106 <td>Win 98+ / OSX.2+</td> | |
107 <td class="center">1.8</td> | |
108 <td class="center">A</td> | |
109 </tr> | |
110 <tr class="gradeA"> | |
111 <td>Gecko</td> | |
112 <td>Firefox 3.0</td> | |
113 <td>Win 2k+ / OSX.3+</td> | |
114 <td class="center">1.9</td> | |
115 <td class="center">A</td> | |
116 </tr> | |
117 <tr class="gradeA"> | |
118 <td>Gecko</td> | |
119 <td>Camino 1.0</td> | |
120 <td>OSX.2+</td> | |
121 <td class="center">1.8</td> | |
122 <td class="center">A</td> | |
123 </tr> | |
124 <tr class="gradeA"> | |
125 <td>Gecko</td> | |
126 <td>Camino 1.5</td> | |
127 <td>OSX.3+</td> | |
128 <td class="center">1.8</td> | |
129 <td class="center">A</td> | |
130 </tr> | |
131 <tr class="gradeA"> | |
132 <td>Gecko</td> | |
133 <td>Netscape 7.2</td> | |
134 <td>Win 95+ / Mac OS 8.6-9.2</td> | |
135 <td class="center">1.7</td> | |
136 <td class="center">A</td> | |
137 </tr> | |
138 <tr class="gradeA"> | |
139 <td>Gecko</td> | |
140 <td>Netscape Browser 8</td> | |
141 <td>Win 98SE+</td> | |
142 <td class="center">1.7</td> | |
143 <td class="center">A</td> | |
144 </tr> | |
145 <tr class="gradeA"> | |
146 <td>Gecko</td> | |
147 <td>Netscape Navigator 9</td> | |
148 <td>Win 98+ / OSX.2+</td> | |
149 <td class="center">1.8</td> | |
150 <td class="center">A</td> | |
151 </tr> | |
152 <tr class="gradeA"> | |
153 <td>Gecko</td> | |
154 <td>Mozilla 1.0</td> | |
155 <td>Win 95+ / OSX.1+</td> | |
156 <td class="center">1</td> | |
157 <td class="center">A</td> | |
158 </tr> | |
159 <tr class="gradeA"> | |
160 <td>Gecko</td> | |
161 <td>Mozilla 1.1</td> | |
162 <td>Win 95+ / OSX.1+</td> | |
163 <td class="center">1.1</td> | |
164 <td class="center">A</td> | |
165 </tr> | |
166 <tr class="gradeA"> | |
167 <td>Gecko</td> | |
168 <td>Mozilla 1.2</td> | |
169 <td>Win 95+ / OSX.1+</td> | |
170 <td class="center">1.2</td> | |
171 <td class="center">A</td> | |
172 </tr> | |
173 <tr class="gradeA"> | |
174 <td>Gecko</td> | |
175 <td>Mozilla 1.3</td> | |
176 <td>Win 95+ / OSX.1+</td> | |
177 <td class="center">1.3</td> | |
178 <td class="center">A</td> | |
179 </tr> | |
180 <tr class="gradeA"> | |
181 <td>Gecko</td> | |
182 <td>Mozilla 1.4</td> | |
183 <td>Win 95+ / OSX.1+</td> | |
184 <td class="center">1.4</td> | |
185 <td class="center">A</td> | |
186 </tr> | |
187 <tr class="gradeA"> | |
188 <td>Gecko</td> | |
189 <td>Mozilla 1.5</td> | |
190 <td>Win 95+ / OSX.1+</td> | |
191 <td class="center">1.5</td> | |
192 <td class="center">A</td> | |
193 </tr> | |
194 <tr class="gradeA"> | |
195 <td>Gecko</td> | |
196 <td>Mozilla 1.6</td> | |
197 <td>Win 95+ / OSX.1+</td> | |
198 <td class="center">1.6</td> | |
199 <td class="center">A</td> | |
200 </tr> | |
201 <tr class="gradeA"> | |
202 <td>Gecko</td> | |
203 <td>Mozilla 1.7</td> | |
204 <td>Win 98+ / OSX.1+</td> | |
205 <td class="center">1.7</td> | |
206 <td class="center">A</td> | |
207 </tr> | |
208 <tr class="gradeA"> | |
209 <td>Gecko</td> | |
210 <td>Mozilla 1.8</td> | |
211 <td>Win 98+ / OSX.1+</td> | |
212 <td class="center">1.8</td> | |
213 <td class="center">A</td> | |
214 </tr> | |
215 <tr class="gradeA"> | |
216 <td>Gecko</td> | |
217 <td>Seamonkey 1.1</td> | |
218 <td>Win 98+ / OSX.2+</td> | |
219 <td class="center">1.8</td> | |
220 <td class="center">A</td> | |
221 </tr> | |
222 <tr class="gradeA"> | |
223 <td>Gecko</td> | |
224 <td>Epiphany 2.20</td> | |
225 <td>Gnome</td> | |
226 <td class="center">1.8</td> | |
227 <td class="center">A</td> | |
228 </tr> | |
229 <tr class="gradeA"> | |
230 <td>Webkit</td> | |
231 <td>Safari 1.2</td> | |
232 <td>OSX.3</td> | |
233 <td class="center">125.5</td> | |
234 <td class="center">A</td> | |
235 </tr> | |
236 <tr class="gradeA"> | |
237 <td>Webkit</td> | |
238 <td>Safari 1.3</td> | |
239 <td>OSX.3</td> | |
240 <td class="center">312.8</td> | |
241 <td class="center">A</td> | |
242 </tr> | |
243 <tr class="gradeA"> | |
244 <td>Webkit</td> | |
245 <td>Safari 2.0</td> | |
246 <td>OSX.4+</td> | |
247 <td class="center">419.3</td> | |
248 <td class="center">A</td> | |
249 </tr> | |
250 <tr class="gradeA"> | |
251 <td>Webkit</td> | |
252 <td>Safari 3.0</td> | |
253 <td>OSX.4+</td> | |
254 <td class="center">522.1</td> | |
255 <td class="center">A</td> | |
256 </tr> | |
257 <tr class="gradeA"> | |
258 <td>Webkit</td> | |
259 <td>OmniWeb 5.5</td> | |
260 <td>OSX.4+</td> | |
261 <td class="center">420</td> | |
262 <td class="center">A</td> | |
263 </tr> | |
264 <tr class="gradeA"> | |
265 <td>Webkit</td> | |
266 <td>iPod Touch / iPhone</td> | |
267 <td>iPod</td> | |
268 <td class="center">420.1</td> | |
269 <td class="center">A</td> | |
270 </tr> | |
271 <tr class="gradeA"> | |
272 <td>Webkit</td> | |
273 <td>S60</td> | |
274 <td>S60</td> | |
275 <td class="center">413</td> | |
276 <td class="center">A</td> | |
277 </tr> | |
278 <tr class="gradeA"> | |
279 <td>Presto</td> | |
280 <td>Opera 7.0</td> | |
281 <td>Win 95+ / OSX.1+</td> | |
282 <td class="center">-</td> | |
283 <td class="center">A</td> | |
284 </tr> | |
285 <tr class="gradeA"> | |
286 <td>Presto</td> | |
287 <td>Opera 7.5</td> | |
288 <td>Win 95+ / OSX.2+</td> | |
289 <td class="center">-</td> | |
290 <td class="center">A</td> | |
291 </tr> | |
292 <tr class="gradeA"> | |
293 <td>Presto</td> | |
294 <td>Opera 8.0</td> | |
295 <td>Win 95+ / OSX.2+</td> | |
296 <td class="center">-</td> | |
297 <td class="center">A</td> | |
298 </tr> | |
299 <tr class="gradeA"> | |
300 <td>Presto</td> | |
301 <td>Opera 8.5</td> | |
302 <td>Win 95+ / OSX.2+</td> | |
303 <td class="center">-</td> | |
304 <td class="center">A</td> | |
305 </tr> | |
306 <tr class="gradeA"> | |
307 <td>Presto</td> | |
308 <td>Opera 9.0</td> | |
309 <td>Win 95+ / OSX.3+</td> | |
310 <td class="center">-</td> | |
311 <td class="center">A</td> | |
312 </tr> | |
313 <tr class="gradeA"> | |
314 <td>Presto</td> | |
315 <td>Opera 9.2</td> | |
316 <td>Win 88+ / OSX.3+</td> | |
317 <td class="center">-</td> | |
318 <td class="center">A</td> | |
319 </tr> | |
320 <tr class="gradeA"> | |
321 <td>Presto</td> | |
322 <td>Opera 9.5</td> | |
323 <td>Win 88+ / OSX.3+</td> | |
324 <td class="center">-</td> | |
325 <td class="center">A</td> | |
326 </tr> | |
327 <tr class="gradeA"> | |
328 <td>Presto</td> | |
329 <td>Opera for Wii</td> | |
330 <td>Wii</td> | |
331 <td class="center">-</td> | |
332 <td class="center">A</td> | |
333 </tr> | |
334 <tr class="gradeA"> | |
335 <td>Presto</td> | |
336 <td>Nokia N800</td> | |
337 <td>N800</td> | |
338 <td class="center">-</td> | |
339 <td class="center">A</td> | |
340 </tr> | |
341 <tr class="gradeA"> | |
342 <td>Presto</td> | |
343 <td>Nintendo DS browser</td> | |
344 <td>Nintendo DS</td> | |
345 <td class="center">8.5</td> | |
346 <td class="center">C/A<sup>1</sup></td> | |
347 </tr> | |
348 <tr class="gradeC"> | |
349 <td>KHTML</td> | |
350 <td>Konqureror 3.1</td> | |
351 <td>KDE 3.1</td> | |
352 <td class="center">3.1</td> | |
353 <td class="center">C</td> | |
354 </tr> | |
355 <tr class="gradeA"> | |
356 <td>KHTML</td> | |
357 <td>Konqureror 3.3</td> | |
358 <td>KDE 3.3</td> | |
359 <td class="center">3.3</td> | |
360 <td class="center">A</td> | |
361 </tr> | |
362 <tr class="gradeA"> | |
363 <td>KHTML</td> | |
364 <td>Konqureror 3.5</td> | |
365 <td>KDE 3.5</td> | |
366 <td class="center">3.5</td> | |
367 <td class="center">A</td> | |
368 </tr> | |
369 <tr class="gradeX"> | |
370 <td>Tasman</td> | |
371 <td>Internet Explorer 4.5</td> | |
372 <td>Mac OS 8-9</td> | |
373 <td class="center">-</td> | |
374 <td class="center">X</td> | |
375 </tr> | |
376 <tr class="gradeC"> | |
377 <td>Tasman</td> | |
378 <td>Internet Explorer 5.1</td> | |
379 <td>Mac OS 7.6-9</td> | |
380 <td class="center">1</td> | |
381 <td class="center">C</td> | |
382 </tr> | |
383 <tr class="gradeC"> | |
384 <td>Tasman</td> | |
385 <td>Internet Explorer 5.2</td> | |
386 <td>Mac OS 8-X</td> | |
387 <td class="center">1</td> | |
388 <td class="center">C</td> | |
389 </tr> | |
390 <tr class="gradeA"> | |
391 <td>Misc</td> | |
392 <td>NetFront 3.1</td> | |
393 <td>Embedded devices</td> | |
394 <td class="center">-</td> | |
395 <td class="center">C</td> | |
396 </tr> | |
397 <tr class="gradeA"> | |
398 <td>Misc</td> | |
399 <td>NetFront 3.4</td> | |
400 <td>Embedded devices</td> | |
401 <td class="center">-</td> | |
402 <td class="center">A</td> | |
403 </tr> | |
404 <tr class="gradeX"> | |
405 <td>Misc</td> | |
406 <td>Dillo 0.8</td> | |
407 <td>Embedded devices</td> | |
408 <td class="center">-</td> | |
409 <td class="center">X</td> | |
410 </tr> | |
411 <tr class="gradeX"> | |
412 <td>Misc</td> | |
413 <td>Links</td> | |
414 <td>Text only</td> | |
415 <td class="center">-</td> | |
416 <td class="center">X</td> | |
417 </tr> | |
418 <tr class="gradeX"> | |
419 <td>Misc</td> | |
420 <td>Lynx</td> | |
421 <td>Text only</td> | |
422 <td class="center">-</td> | |
423 <td class="center">X</td> | |
424 </tr> | |
425 <tr class="gradeC"> | |
426 <td>Misc</td> | |
427 <td>IE Mobile</td> | |
428 <td>Windows Mobile 6</td> | |
429 <td class="center">-</td> | |
430 <td class="center">C</td> | |
431 </tr> | |
432 <tr class="gradeC"> | |
433 <td>Misc</td> | |
434 <td>PSP browser</td> | |
435 <td>PSP</td> | |
436 <td class="center">-</td> | |
437 <td class="center">C</td> | |
438 </tr> | |
439 <tr class="gradeU"> | |
440 <td>Other browsers</td> | |
441 <td>All others</td> | |
442 <td>-</td> | |
443 <td class="center">-</td> | |
444 <td class="center">U</td> | |
445 </tr> | |
446 </tbody> | |
447 <tfoot> | |
448 <tr> | |
449 <th>Rendering engine</th> | |
450 <th>Browser</th> | |
451 <th>Platform(s)</th> | |
452 <th>Engine version</th> | |
453 <th>CSS grade</th> | |
454 </tr> | |
455 </tfoot> | |
456 </table> | |
457 </div> | |
458 <div class="spacer"></div> | |
459 | |
460 | |
461 <h1>Initialisation code</h1> | |
462 <pre>$(document).ready( function () { | |
463 new FixedHeader( document.getElementById('example') ); | |
464 } );</pre> | |
465 | |
466 <h1>Examples</h1> | |
467 <ul> | |
468 <li><a href="index.html">Basic demo with just the HeaderFixed</a></li> | |
469 <li><a href="html_table.html">FixedHeader without requiring DataTables</a></li> | |
470 <li><a href="two_tables.html">Two tables with FixedHeaders on a single page</a></li> | |
471 <li><a href="top_bottom_left_right.html">A spreadsheet style layout with header and footer, left and right columns all fixed.</a></li> | |
472 <li><a href="zIndexes.html">Change the display order of the fixed elements (zIndex)</a></li> | |
473 </ul> | |
474 | |
475 <p>Empty paragraphs to force scrolling!...</p> | |
476 <p style="height:500px;"> </p> | |
477 | |
478 | |
479 <div id="footer" style="text-align:center;"> | |
480 <span style="font-size:10px;"> | |
481 FixedHeader and DataTables © Allan Jardine 2009-2010.<br> | |
482 </span> | |
483 </div> | |
484 </div> | |
485 </body> | |
486 </html> |