annotate DataTables-1.9.4/extras/FixedColumns/row_grouping.html @ 7:0f2b740536fb draft

Uploaded
author saskia-hiltemann
date Mon, 21 Aug 2017 09:16:07 -0400
parents ac5f9272033b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
2 <html>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
3 <head>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
4 <meta http-equiv="content-type" content="text/html; charset=utf-8">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
5 <link rel="shortcut icon" type="image/ico" href="http://www.sprymedia.co.uk/media/images/favicon.ico">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
6
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
7 <title>FixedColumns example</title>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
8 <style type="text/css" title="currentStyle">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
9 @import "../../media/css/demo_page.css";
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
10 @import "../../media/css/demo_table.css";
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
11 .FixedColumns_Cloned th { background-color: white; }
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
12 td.index { background-color: white; border-right: 1px solid black; }
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
13 table.display th.sorting_disabled { border-bottom: 1px solid white; }
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
14 </style>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
15 <script type="text/javascript" charset="utf-8" src="../../media/js/jquery.js"></script>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
16 <script type="text/javascript" charset="utf-8" src="../../media/js/jquery.dataTables.js"></script>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
17 <script type="text/javascript" charset="utf-8" src="media/js/FixedColumns.js"></script>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
18 <script type="text/javascript" charset="utf-8">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
19 $(document).ready( function () {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
20 var oTable = $('#example').dataTable( {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
21 "sScrollY": "300px",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
22 "sScrollX": "100%",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
23 "sScrollXInner": "150%",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
24 "bScrollCollapse": true,
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
25 "bPaginate": false,
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
26 "aaSortingFixed": [ [1, 'asc'] ],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
27 "aoColumnDefs": [
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
28 { "bVisible": false, "aTargets": [1] }
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
29 ]
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
30 } );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
31
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
32 new FixedColumns( oTable, {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
33 "fnDrawCallback": function ( left, right ) {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
34 var oSettings = oTable.fnSettings();
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
35 if ( oSettings.aiDisplay.length == 0 )
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
36 {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
37 return;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
38 }
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
39
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
40 var nGroup, nCell, iIndex, sGroup;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
41 var sLastGroup = "", iCorrector=0;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
42 var nTrs = $('#example tbody tr');
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
43 var iColspan = nTrs[0].getElementsByTagName('td').length;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
44
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
45 for ( var i=0 ; i<nTrs.length ; i++ )
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
46 {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
47 iIndex = oSettings._iDisplayStart + i;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
48 sGroup = oSettings.aoData[ oSettings.aiDisplay[iIndex] ]._aData[1] ;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
49
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
50 if ( sGroup != sLastGroup )
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
51 {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
52 /* Cell to insert into main table */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
53 nGroup = document.createElement( 'tr' );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
54 nCell = document.createElement( 'td' );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
55 nCell.colSpan = iColspan;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
56 nCell.className = "group";
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
57 nCell.innerHTML = "&nbsp;";
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
58 nGroup.appendChild( nCell );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
59 nTrs[i].parentNode.insertBefore( nGroup, nTrs[i] );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
60
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
61 /* Cell to insert into the frozen columns */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
62 nGroup = document.createElement( 'tr' );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
63 nCell = document.createElement( 'td' );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
64 nCell.className = "group";
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
65 nCell.innerHTML = sGroup;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
66 nGroup.appendChild( nCell );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
67 $(nGroup).insertBefore( $('tbody tr:eq('+(i+iCorrector)+')', left.body)[0] );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
68
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
69 iCorrector++;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
70 sLastGroup = sGroup;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
71 }
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
72 }
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
73 }
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
74 } );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
75 } );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
76 </script>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
77 </head>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
78 <body id="dt_example">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
79 <div id="container">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
80 <div class="full_width big">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
81 FixedColumns example - row grouping
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
82 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
83
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
84 <h1>Preamble</h1>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
85 <p>This example is designed to re-implement the visual effect of the DataTables <a href="http://datatables.net/examples/advanced_init/row_grouping.html">row grouping example</a> with a fixed column. It is alternative row grouping style to that presented in the <a href="grouping.html">row grouping by height</a> example.</p>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
86
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
87 <h1>Live example</h1>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
88 <div id="demo">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
89 <table cellpadding="0" cellspacing="0" border="0" class="display" id="example">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
90 <thead>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
91 <tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
92 <th>Browser</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
93 <th>Rendering engine</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
94 <th>Platform(s)</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
95 <th>Engine version</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
96 <th>CSS grade</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
97 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
98 </thead>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
99 <tbody>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
100 <tr class="gradeX">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
101 <td>Internet
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
102 Explorer 4.0</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
103 <td>Trident</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
104 <td>Win 95+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
105 <td class="center">4</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
106 <td class="center">X</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
107 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
108 <tr class="gradeC">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
109 <td>Internet
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
110 Explorer 5.0</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
111 <td>Trident</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
112 <td>Win 95+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
113 <td class="center">5</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
114 <td class="center">C</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
115 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
116 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
117 <td>Internet
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
118 Explorer 5.5</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
119 <td>Trident</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
120 <td>Win 95+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
121 <td class="center">5.5</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
122 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
123 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
124 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
125 <td>Internet
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
126 Explorer 6</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
127 <td>Trident</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
128 <td>Win 98+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
129 <td class="center">6</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
130 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
131 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
132 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
133 <td>Internet Explorer 7</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
134 <td>Trident</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
135 <td>Win XP SP2+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
136 <td class="center">7</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
137 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
138 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
139 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
140 <td>AOL browser (AOL desktop)</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
141 <td>Trident</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
142 <td>Win XP</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
143 <td class="center">6</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
144 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
145 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
146 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
147 <td>Firefox 1.0</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
148 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
149 <td>Win 98+ / OSX.2+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
150 <td class="center">1.7</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
151 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
152 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
153 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
154 <td>Firefox 1.5</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
155 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
156 <td>Win 98+ / OSX.2+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
157 <td class="center">1.8</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
158 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
159 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
160 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
161 <td>Firefox 2.0</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
162 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
163 <td>Win 98+ / OSX.2+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
164 <td class="center">1.8</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
165 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
166 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
167 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
168 <td>Firefox 3.0</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
169 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
170 <td>Win 2k+ / OSX.3+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
171 <td class="center">1.9</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
172 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
173 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
174 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
175 <td>Camino 1.0</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
176 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
177 <td>OSX.2+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
178 <td class="center">1.8</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
179 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
180 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
181 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
182 <td>Camino 1.5</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
183 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
184 <td>OSX.3+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
185 <td class="center">1.8</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
186 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
187 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
188 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
189 <td>Netscape 7.2</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
190 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
191 <td>Win 95+ / Mac OS 8.6-9.2</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
192 <td class="center">1.7</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
193 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
194 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
195 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
196 <td>Netscape Browser 8</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
197 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
198 <td>Win 98SE+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
199 <td class="center">1.7</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
200 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
201 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
202 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
203 <td>Netscape Navigator 9</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
204 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
205 <td>Win 98+ / OSX.2+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
206 <td class="center">1.8</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
207 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
208 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
209 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
210 <td>Mozilla 1.0</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
211 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
212 <td>Win 95+ / OSX.1+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
213 <td class="center">1</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
214 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
215 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
216 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
217 <td>Mozilla 1.1</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
218 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
219 <td>Win 95+ / OSX.1+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
220 <td class="center">1.1</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
221 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
222 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
223 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
224 <td>Mozilla 1.2</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
225 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
226 <td>Win 95+ / OSX.1+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
227 <td class="center">1.2</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
228 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
229 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
230 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
231 <td>Mozilla 1.3</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
232 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
233 <td>Win 95+ / OSX.1+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
234 <td class="center">1.3</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
235 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
236 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
237 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
238 <td>Mozilla 1.4</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
239 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
240 <td>Win 95+ / OSX.1+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
241 <td class="center">1.4</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
242 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
243 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
244 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
245 <td>Mozilla 1.5</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
246 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
247 <td>Win 95+ / OSX.1+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
248 <td class="center">1.5</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
249 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
250 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
251 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
252 <td>Mozilla 1.6</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
253 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
254 <td>Win 95+ / OSX.1+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
255 <td class="center">1.6</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
256 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
257 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
258 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
259 <td>Mozilla 1.7</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
260 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
261 <td>Win 98+ / OSX.1+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
262 <td class="center">1.7</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
263 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
264 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
265 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
266 <td>Mozilla 1.8</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
267 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
268 <td>Win 98+ / OSX.1+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
269 <td class="center">1.8</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
270 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
271 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
272 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
273 <td>Seamonkey 1.1</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
274 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
275 <td>Win 98+ / OSX.2+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
276 <td class="center">1.8</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
277 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
278 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
279 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
280 <td>Epiphany 2.20</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
281 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
282 <td>Gnome</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
283 <td class="center">1.8</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
284 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
285 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
286 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
287 <td>Safari 1.2</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
288 <td>Webkit</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
289 <td>OSX.3</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
290 <td class="center">125.5</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
291 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
292 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
293 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
294 <td>Safari 1.3</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
295 <td>Webkit</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
296 <td>OSX.3</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
297 <td class="center">312.8</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
298 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
299 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
300 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
301 <td>Safari 2.0</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
302 <td>Webkit</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
303 <td>OSX.4+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
304 <td class="center">419.3</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
305 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
306 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
307 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
308 <td>Safari 3.0</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
309 <td>Webkit</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
310 <td>OSX.4+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
311 <td class="center">522.1</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
312 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
313 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
314 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
315 <td>OmniWeb 5.5</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
316 <td>Webkit</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
317 <td>OSX.4+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
318 <td class="center">420</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
319 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
320 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
321 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
322 <td>iPod Touch / iPhone</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
323 <td>Webkit</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
324 <td>iPod</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
325 <td class="center">420.1</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
326 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
327 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
328 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
329 <td>S60</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
330 <td>Webkit</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
331 <td>S60</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
332 <td class="center">413</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
333 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
334 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
335 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
336 <td>Opera 7.0</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
337 <td>Presto</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
338 <td>Win 95+ / OSX.1+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
339 <td class="center">-</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
340 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
341 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
342 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
343 <td>Opera 7.5</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
344 <td>Presto</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
345 <td>Win 95+ / OSX.2+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
346 <td class="center">-</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
347 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
348 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
349 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
350 <td>Opera 8.0</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
351 <td>Presto</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
352 <td>Win 95+ / OSX.2+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
353 <td class="center">-</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
354 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
355 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
356 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
357 <td>Opera 8.5</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
358 <td>Presto</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
359 <td>Win 95+ / OSX.2+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
360 <td class="center">-</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
361 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
362 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
363 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
364 <td>Opera 9.0</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
365 <td>Presto</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
366 <td>Win 95+ / OSX.3+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
367 <td class="center">-</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
368 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
369 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
370 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
371 <td>Opera 9.2</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
372 <td>Presto</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
373 <td>Win 88+ / OSX.3+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
374 <td class="center">-</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
375 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
376 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
377 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
378 <td>Opera 9.5</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
379 <td>Presto</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
380 <td>Win 88+ / OSX.3+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
381 <td class="center">-</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
382 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
383 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
384 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
385 <td>Opera for Wii</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
386 <td>Presto</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
387 <td>Wii</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
388 <td class="center">-</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
389 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
390 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
391 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
392 <td>Nokia N800</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
393 <td>Presto</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
394 <td>N800</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
395 <td class="center">-</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
396 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
397 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
398 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
399 <td>Nintendo DS browser</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
400 <td>Presto</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
401 <td>Nintendo DS</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
402 <td class="center">8.5</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
403 <td class="center">C/A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
404 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
405 <tr class="gradeC">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
406 <td>Konqureror 3.1</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
407 <td>KHTML</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
408 <td>KDE 3.1</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
409 <td class="center">3.1</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
410 <td class="center">C</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
411 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
412 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
413 <td>Konqureror 3.3</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
414 <td>KHTML</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
415 <td>KDE 3.3</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
416 <td class="center">3.3</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
417 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
418 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
419 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
420 <td>Konqureror 3.5</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
421 <td>KHTML</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
422 <td>KDE 3.5</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
423 <td class="center">3.5</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
424 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
425 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
426 <tr class="gradeX">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
427 <td>Internet Explorer 4.5</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
428 <td>Tasman</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
429 <td>Mac OS 8-9</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
430 <td class="center">-</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
431 <td class="center">X</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
432 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
433 <tr class="gradeC">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
434 <td>Internet Explorer 5.1</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
435 <td>Tasman</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
436 <td>Mac OS 7.6-9</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
437 <td class="center">1</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
438 <td class="center">C</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
439 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
440 <tr class="gradeC">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
441 <td>Internet Explorer 5.2</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
442 <td>Tasman</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
443 <td>Mac OS 8-X</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
444 <td class="center">1</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
445 <td class="center">C</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
446 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
447 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
448 <td>NetFront 3.1</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
449 <td>Misc</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
450 <td>Embedded devices</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
451 <td class="center">-</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
452 <td class="center">C</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
453 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
454 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
455 <td>NetFront 3.4</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
456 <td>Misc</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
457 <td>Embedded devices</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
458 <td class="center">-</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
459 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
460 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
461 <tr class="gradeX">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
462 <td>Dillo 0.8</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
463 <td>Misc</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
464 <td>Embedded devices</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
465 <td class="center">-</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
466 <td class="center">X</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
467 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
468 <tr class="gradeX">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
469 <td>Links</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
470 <td>Misc</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
471 <td>Text only</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
472 <td class="center">-</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
473 <td class="center">X</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
474 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
475 <tr class="gradeX">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
476 <td>Lynx</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
477 <td>Misc</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
478 <td>Text only</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
479 <td class="center">-</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
480 <td class="center">X</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
481 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
482 <tr class="gradeC">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
483 <td>IE Mobile</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
484 <td>Misc</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
485 <td>Windows Mobile 6</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
486 <td class="center">-</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
487 <td class="center">C</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
488 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
489 <tr class="gradeC">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
490 <td>PSP browser</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
491 <td>Misc</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
492 <td>PSP</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
493 <td class="center">-</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
494 <td class="center">C</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
495 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
496 <tr class="gradeU">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
497 <td>All others</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
498 <td>Other browsers</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
499 <td>-</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
500 <td class="center">-</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
501 <td class="center">U</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
502 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
503 </tbody>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
504 </table>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
505 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
506 <div class="spacer"></div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
507
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
508
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
509 <h1>Initialisation code</h1>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
510 <pre>$(document).ready( function () {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
511 var oTable = $('#example').dataTable( {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
512 "sScrollY": "300px",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
513 "sScrollX": "100%",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
514 "sScrollXInner": "150%",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
515 "bScrollCollapse": true,
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
516 "bPaginate": false,
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
517 "aaSortingFixed": [ [1, 'asc'] ],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
518 "aoColumnDefs": [
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
519 { "bVisible": false, "aTargets": [1] }
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
520 ]
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
521 } );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
522
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
523 new FixedColumns( oTable, {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
524 "fnDrawCallback": function ( left, right ) {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
525 var oSettings = oTable.fnSettings();
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
526 if ( oSettings.aiDisplay.length == 0 )
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
527 {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
528 return;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
529 }
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
530
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
531 var nGroup, nCell, iIndex, sGroup;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
532 var sLastGroup = "", iCorrector=0;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
533 var nTrs = $('#example tbody tr');
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
534 var iColspan = nTrs[0].getElementsByTagName('td').length;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
535
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
536 for ( var i=0 ; i&lt;nTrs.length ; i++ )
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
537 {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
538 iIndex = oSettings._iDisplayStart + i;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
539 sGroup = oSettings.aoData[ oSettings.aiDisplay[iIndex] ]._aData[1] ;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
540
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
541 if ( sGroup != sLastGroup )
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
542 {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
543 /* Cell to insert into main table */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
544 nGroup = document.createElement( 'tr' );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
545 nCell = document.createElement( 'td' );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
546 nCell.colSpan = iColspan;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
547 nCell.className = "group";
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
548 nCell.innerHTML = "&amp;nbsp;";
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
549 nGroup.appendChild( nCell );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
550 nTrs[i].parentNode.insertBefore( nGroup, nTrs[i] );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
551
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
552 /* Cell to insert into the frozen columns */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
553 nGroup = document.createElement( 'tr' );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
554 nCell = document.createElement( 'td' );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
555 nCell.className = "group";
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
556 nCell.innerHTML = sGroup;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
557 nGroup.appendChild( nCell );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
558 $(nGroup).insertBefore( $('tbody tr:eq('+(i+iCorrector)+')', left.body)[0] );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
559
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
560 iCorrector++;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
561 sLastGroup = sGroup;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
562 }
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
563 }
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
564 }
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
565 } );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
566 } );</pre>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
567
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
568
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
569 <h1>Documentation</h1>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
570 <ul>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
571 <li><a href="http://datatables.net/extras/fixedcolumns">Usage</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
572 <li><a href="http://datatables.net/docs/FixedColumns">API / parameters</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
573 </ul>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
574
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
575 <h1>Basic examples</h1>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
576 <ul>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
577 <li><a href="index.html">Basic demo of FixedColumns with zero initialisation</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
578 <li><a href="left_right_columns.html">Fix the left and right columns in place</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
579 <li><a href="index_column.html">Index column attached to side of the table</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
580 <li><a href="x_y_scrolling.html">Index column, but with Y scrolling and no pagination</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
581 <li><a href="two_columns.html">Two columns fixed in place</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
582 <li><a href="right_column.html">Fix the right column in place</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
583 <li><a href="css_size.html">Speeding up row height matching with CSS</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
584 <li><a href="themed.html">jQuery UI themed table with FixedColumns</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
585 </ul>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
586
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
587 <h1>Advanced examples</h1>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
588 <ul>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
589 <li><a href="rowspan.html">Using ROWSPAN with FixedColumns</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
590 <li><a href="server-side-processing.html">Server-side processing with FixedColumns</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
591 <li><a href="col_filter.html">Individual column filtering</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
592 <li><a href="scale_fixed.html">Setting the fixed column width and resizing the table</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
593 <li><a href="scale_relative.html">Setting the fixed column width with relative sizing</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
594 <li><a href="row_grouping_height.html">Row grouping by grouping like rows in the fixed column</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
595 <li><a href="row_grouping.html">Row grouping by inserting a grouping row</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
596 <ul>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
597
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
598
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
599 <div id="footer" style="text-align:center;">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
600 <span style="font-size:10px;">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
601 FixedColumns and DataTables &copy; Allan Jardine 2011.<br>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
602 </span>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
603 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
604 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
605 </body>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
606 </html>