annotate DataTables-1.9.4/extras/AutoFill/inputs.html @ 6:42076db43d42 draft

Fixed auto resizing plus various other minor bugs
author saskia-hiltemann
date Mon, 16 Nov 2015 08:56:22 -0500
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>AutoFill 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 @import "media/css/AutoFill.css";
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
12 td input { width: 90% }
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
13 </style>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
14 <script type="text/javascript" charset="utf-8" src="../../media/js/jquery.js"></script>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
15 <script type="text/javascript" charset="utf-8" src="../../media/js/jquery.dataTables.js"></script>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
16 <script type="text/javascript" charset="utf-8" src="media/js/AutoFill.js"></script>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
17 <script type="text/javascript" charset="utf-8">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
18 $.fn.dataTableExt.afnSortData['dom-text'] = function ( oSettings, iColumn )
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
19 {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
20 var aData = [];
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
21 $( 'td:eq('+iColumn+') input', oSettings.oApi._fnGetTrNodes(oSettings) ).each( function () {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
22 aData.push( this.value );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
23 } );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
24 return aData;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
25 }
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
26
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
27 $(document).ready( function () {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
28 var oTable = $('#example').dataTable( {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
29 "aoColumnDefs": [
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
30 { "sSortDataType": "dom-text", "aTargets": [ "_all" ] },
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
31 { "sType": "numeric", "aTargets": [ -2 ] }
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
32 ]
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
33 } );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
34 new AutoFill( oTable );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
35 } );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
36 </script>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
37 </head>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
38 <body id="dt_example">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
39 <div id="container">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
40 <div class="full_width big">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
41 AutoFill example with input elements
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
42 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
43
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
44 <h1>Preamble</h1>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
45 <p>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
46 AutoFill works with Input elements and Select elements, as well as plain HTML cells. This
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
47 example shows all inputs cells, combined with DataTables' DOM sorting plug-in. You can
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
48 even combine input and plain HTML cells if you wanted (useful from something like jEditable).
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
49 </p>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
50
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
51
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
52
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
53 <h1>Live example</h1>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
54 <form>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
55 <div id="demo">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
56 <table cellpadding="0" cellspacing="0" border="0" class="display" id="example">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
57 <thead>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
58 <tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
59 <th>Rendering engine</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
60 <th>Browser</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
61 <th>Platform(s)</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
62 <th>Engine version</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
63 <th>CSS grade</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
64 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
65 </thead>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
66 <tfoot>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
67 <tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
68 <th>Rendering engine</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
69 <th>Browser</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
70 <th>Platform(s)</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
71 <th>Engine version</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
72 <th>CSS grade</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
73 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
74 </tfoot>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
75 <tbody>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
76 <tr class="odd_gradeX">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
77 <td><input type="text" value="Trident"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
78 <td><input type="text" value="Internet Explorer 4.0"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
79 <td><input type="text" value="Win 95+ (Entity: &amp;)"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
80 <td class="center"><input type="text" value="4"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
81 <td class="center"><input type="text" value="X"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
82 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
83 <tr class="even_gradeC">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
84 <td><input type="text" value="Trident"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
85 <td><input type="text" value="Internet Explorer 5.0"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
86 <td><input type="text" value="Win 95+"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
87 <td class="center"><input type="text" value="5"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
88 <td class="center"><input type="text" value="C"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
89 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
90 <tr class="odd_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
91 <td><input type="text" value="Trident"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
92 <td><input type="text" value="Internet Explorer 5.5"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
93 <td><input type="text" value="Win 95+"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
94 <td class="center"><input type="text" value="5.5"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
95 <td class="center"><input type="text" value="A"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
96 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
97 <tr class="even_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
98 <td><input type="text" value="Trident"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
99 <td><input type="text" value="Internet Explorer 6"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
100 <td><input type="text" value="Win 98+"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
101 <td class="center"><input type="text" value="6"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
102 <td class="center"><input type="text" value="A"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
103 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
104 <tr class="odd_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
105 <td><input type="text" value="Trident"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
106 <td><input type="text" value="Internet Explorer 7"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
107 <td><input type="text" value="Win XP SP2+"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
108 <td class="center"><input type="text" value="7"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
109 <td class="center"><input type="text" value="A"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
110 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
111 <tr class="even_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
112 <td><input type="text" value="Trident"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
113 <td><input type="text" value="AOL browser (AOL desktop)"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
114 <td><input type="text" value="Win XP"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
115 <td class="center"><input type="text" value="6"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
116 <td class="center"><input type="text" value="A"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
117 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
118 <tr class="odd_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
119 <td><input type="text" value="Gecko (UTF-8: $¢€)"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
120 <td><input type="text" value="Firefox 1.0"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
121 <td><input type="text" value="Win 98+ / OSX.2+"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
122 <td class="center"><input type="text" value="1.7"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
123 <td class="center"><input type="text" value="A"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
124 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
125 <tr class="even_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
126 <td><input type="text" value="Gecko"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
127 <td><input type="text" value="Firefox 1.5"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
128 <td><input type="text" value="Win 98+ / OSX.2+"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
129 <td class="center"><input type="text" value="1.8"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
130 <td class="center"><input type="text" value="A"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
131 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
132 <tr class="odd_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
133 <td><input type="text" value="Gecko"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
134 <td><input type="text" value="Firefox 2.0"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
135 <td><input type="text" value="Win 98+ / OSX.2+"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
136 <td class="center"><input type="text" value="1.8"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
137 <td class="center"><input type="text" value="A"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
138 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
139 <tr class="even_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
140 <td><input type="text" value="Gecko"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
141 <td><input type="text" value="Firefox 3.0"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
142 <td><input type="text" value="Win 2k+ / OSX.3+"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
143 <td class="center"><input type="text" value="1.9"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
144 <td class="center"><input type="text" value="A"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
145 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
146 <tr class="odd_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
147 <td><input type="text" value="Gecko"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
148 <td><input type="text" value="Camino 1.0"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
149 <td><input type="text" value="OSX.2+"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
150 <td class="center"><input type="text" value="1.8"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
151 <td class="center"><input type="text" value="A"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
152 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
153 <tr class="even_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
154 <td><input type="text" value="Gecko"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
155 <td><input type="text" value="Camino 1.5"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
156 <td><input type="text" value="OSX.3+"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
157 <td class="center"><input type="text" value="1.8"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
158 <td class="center"><input type="text" value="A"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
159 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
160 <tr class="odd_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
161 <td><input type="text" value="Gecko"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
162 <td><input type="text" value="Netscape 7.2"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
163 <td><input type="text" value="Win 95+ / Mac OS 8.6-9.2"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
164 <td class="center"><input type="text" value="1.7"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
165 <td class="center"><input type="text" value="A"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
166 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
167 <tr class="even_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
168 <td><input type="text" value="Gecko"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
169 <td><input type="text" value="Netscape Browser 8"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
170 <td><input type="text" value="Win 98SE+"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
171 <td class="center"><input type="text" value="1.7"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
172 <td class="center"><input type="text" value="A"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
173 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
174 <tr class="odd_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
175 <td><input type="text" value="Gecko"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
176 <td><input type="text" value="Netscape Navigator 9"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
177 <td><input type="text" value="Win 98+ / OSX.2+"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
178 <td class="center"><input type="text" value="1.8"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
179 <td class="center"><input type="text" value="A"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
180 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
181 <tr class="even_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
182 <td><input type="text" value="Gecko"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
183 <td><input type="text" value="Mozilla 1.0"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
184 <td><input type="text" value="Win 95+ / OSX.1+"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
185 <td class="center"><input type="text" value="1"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
186 <td class="center"><input type="text" value="A"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
187 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
188 <tr class="odd_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
189 <td><input type="text" value="Gecko"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
190 <td><input type="text" value="Mozilla 1.1"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
191 <td><input type="text" value="Win 95+ / OSX.1+"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
192 <td class="center"><input type="text" value="1.1"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
193 <td class="center"><input type="text" value="A"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
194 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
195 <tr class="even_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
196 <td><input type="text" value="Gecko"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
197 <td><input type="text" value="Mozilla 1.2"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
198 <td><input type="text" value="Win 95+ / OSX.1+"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
199 <td class="center"><input type="text" value="1.2"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
200 <td class="center"><input type="text" value="A"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
201 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
202 <tr class="odd_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
203 <td><input type="text" value="Gecko"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
204 <td><input type="text" value="Mozilla 1.3"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
205 <td><input type="text" value="Win 95+ / OSX.1+"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
206 <td class="center"><input type="text" value="1.3"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
207 <td class="center"><input type="text" value="A"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
208 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
209 <tr class="even_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
210 <td><input type="text" value="Gecko"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
211 <td><input type="text" value="Mozilla 1.4"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
212 <td><input type="text" value="Win 95+ / OSX.1+"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
213 <td class="center"><input type="text" value="1.4"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
214 <td class="center"><input type="text" value="A"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
215 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
216 <tr class="odd_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
217 <td><input type="text" value="Gecko"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
218 <td><input type="text" value="Mozilla 1.5"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
219 <td><input type="text" value="Win 95+ / OSX.1+"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
220 <td class="center"><input type="text" value="1.5"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
221 <td class="center"><input type="text" value="A"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
222 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
223 <tr class="even_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
224 <td><input type="text" value="Gecko"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
225 <td><input type="text" value="Mozilla 1.6"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
226 <td><input type="text" value="Win 95+ / OSX.1+"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
227 <td class="center"><input type="text" value="1.6"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
228 <td class="center"><input type="text" value="A"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
229 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
230 <tr class="odd_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
231 <td><input type="text" value="Gecko"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
232 <td><input type="text" value="Mozilla 1.7"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
233 <td><input type="text" value="Win 98+ / OSX.1+"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
234 <td class="center"><input type="text" value="1.7"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
235 <td class="center"><input type="text" value="A"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
236 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
237 <tr class="even_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
238 <td><input type="text" value="Gecko"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
239 <td><input type="text" value="Mozilla 1.8"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
240 <td><input type="text" value="Win 98+ / OSX.1+"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
241 <td class="center"><input type="text" value="1.8"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
242 <td class="center"><input type="text" value="A"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
243 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
244 <tr class="odd_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
245 <td><input type="text" value="Gecko"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
246 <td><input type="text" value="Seamonkey 1.1"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
247 <td><input type="text" value="Win 98+ / OSX.2+"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
248 <td class="center"><input type="text" value="1.8"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
249 <td class="center"><input type="text" value="A"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
250 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
251 <tr class="even_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
252 <td><input type="text" value="Gecko"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
253 <td><input type="text" value="Epiphany 2.20"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
254 <td><input type="text" value="Gnome"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
255 <td class="center"><input type="text" value="1.8"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
256 <td class="center"><input type="text" value="A"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
257 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
258 <tr class="odd_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
259 <td><input type="text" value="Webkit"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
260 <td><input type="text" value="Safari 1.2"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
261 <td><input type="text" value="OSX.3"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
262 <td class="center"><input type="text" value="125.5"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
263 <td class="center"><input type="text" value="A"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
264 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
265 <tr class="even_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
266 <td><input type="text" value="Webkit"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
267 <td><input type="text" value="Safari 1.3"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
268 <td><input type="text" value="OSX.3"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
269 <td class="center"><input type="text" value="312.8"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
270 <td class="center"><input type="text" value="A"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
271 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
272 <tr class="odd_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
273 <td><input type="text" value="Webkit"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
274 <td><input type="text" value="Safari 2.0"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
275 <td><input type="text" value="OSX.4+"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
276 <td class="center"><input type="text" value="419.3"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
277 <td class="center"><input type="text" value="A"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
278 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
279 <tr class="even_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
280 <td><input type="text" value="Webkit"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
281 <td><input type="text" value="Safari 3.0"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
282 <td><input type="text" value="OSX.4+"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
283 <td class="center"><input type="text" value="522.1"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
284 <td class="center"><input type="text" value="A"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
285 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
286 <tr class="odd_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
287 <td><input type="text" value="Webkit"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
288 <td><input type="text" value="OmniWeb 5.5"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
289 <td><input type="text" value="OSX.4+"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
290 <td class="center"><input type="text" value="420"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
291 <td class="center"><input type="text" value="A"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
292 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
293 <tr class="even_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
294 <td><input type="text" value="Webkit"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
295 <td><input type="text" value="iPod Touch / iPhone"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
296 <td><input type="text" value="iPod"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
297 <td class="center"><input type="text" value="420.1"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
298 <td class="center"><input type="text" value="A"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
299 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
300 <tr class="odd_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
301 <td><input type="text" value="Webkit"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
302 <td><input type="text" value="S60"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
303 <td><input type="text" value="S60"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
304 <td class="center"><input type="text" value="413"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
305 <td class="center"><input type="text" value="A"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
306 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
307 <tr class="even_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
308 <td><input type="text" value="Presto"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
309 <td><input type="text" value="Opera 7.0"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
310 <td><input type="text" value="Win 95+ / OSX.1+"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
311 <td class="center"><input type="text" value="-"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
312 <td class="center"><input type="text" value="A"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
313 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
314 <tr class="odd_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
315 <td><input type="text" value="Presto"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
316 <td><input type="text" value="Opera 7.5"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
317 <td><input type="text" value="Win 95+ / OSX.2+"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
318 <td class="center"><input type="text" value="-"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
319 <td class="center"><input type="text" value="A"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
320 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
321 <tr class="even_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
322 <td><input type="text" value="Presto"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
323 <td><input type="text" value="Opera 8.0"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
324 <td><input type="text" value="Win 95+ / OSX.2+"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
325 <td class="center"><input type="text" value="-"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
326 <td class="center"><input type="text" value="A"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
327 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
328 <tr class="odd_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
329 <td><input type="text" value="Presto"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
330 <td><input type="text" value="Opera 8.5"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
331 <td><input type="text" value="Win 95+ / OSX.2+"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
332 <td class="center"><input type="text" value="-"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
333 <td class="center"><input type="text" value="A"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
334 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
335 <tr class="even_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
336 <td><input type="text" value="Presto"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
337 <td><input type="text" value="Opera 9.0"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
338 <td><input type="text" value="Win 95+ / OSX.3+"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
339 <td class="center"><input type="text" value="-"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
340 <td class="center"><input type="text" value="A"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
341 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
342 <tr class="odd_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
343 <td><input type="text" value="Presto"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
344 <td><input type="text" value="Opera 9.2"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
345 <td><input type="text" value="Win 88+ / OSX.3+"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
346 <td class="center"><input type="text" value="-"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
347 <td class="center"><input type="text" value="A"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
348 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
349 <tr class="even_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
350 <td><input type="text" value="Presto"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
351 <td><input type="text" value="Opera 9.5"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
352 <td><input type="text" value="Win 88+ / OSX.3+"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
353 <td class="center"><input type="text" value="-"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
354 <td class="center"><input type="text" value="A"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
355 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
356 <tr class="odd_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
357 <td><input type="text" value="Presto"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
358 <td><input type="text" value="Opera for Wii"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
359 <td><input type="text" value="Wii"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
360 <td class="center"><input type="text" value="-"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
361 <td class="center"><input type="text" value="A"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
362 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
363 <tr class="even_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
364 <td><input type="text" value="Presto"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
365 <td><input type="text" value="Nokia N800"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
366 <td><input type="text" value="N800"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
367 <td class="center"><input type="text" value="-"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
368 <td class="center"><input type="text" value="A"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
369 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
370 <tr class="odd_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
371 <td><input type="text" value="Presto"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
372 <td><input type="text" value="Nintendo DS browser"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
373 <td><input type="text" value="Nintendo DS"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
374 <td class="center"><input type="text" value="8.5"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
375 <td class="center"><input type="text" value="C/A<sup>1</sup>"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
376 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
377 <tr class="even_gradeC">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
378 <td><input type="text" value="KHTML"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
379 <td><input type="text" value="Konqureror 3.1"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
380 <td><input type="text" value="KDE 3.1"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
381 <td class="center"><input type="text" value="3.1"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
382 <td class="center"><input type="text" value="C"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
383 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
384 <tr class="odd_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
385 <td><input type="text" value="KHTML"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
386 <td><input type="text" value="Konqureror 3.3"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
387 <td><input type="text" value="KDE 3.3"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
388 <td class="center"><input type="text" value="3.3"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
389 <td class="center"><input type="text" value="A"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
390 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
391 <tr class="even_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
392 <td><input type="text" value="KHTML"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
393 <td><input type="text" value="Konqureror 3.5"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
394 <td><input type="text" value="KDE 3.5"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
395 <td class="center"><input type="text" value="3.5"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
396 <td class="center"><input type="text" value="A"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
397 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
398 <tr class="odd_gradeX">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
399 <td><input type="text" value="Tasman"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
400 <td><input type="text" value="Internet Explorer 4.5"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
401 <td><input type="text" value="Mac OS 8-9"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
402 <td class="center"><input type="text" value="-"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
403 <td class="center"><input type="text" value="X"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
404 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
405 <tr class="even_gradeC">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
406 <td><input type="text" value="Tasman"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
407 <td><input type="text" value="Internet Explorer 5.1"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
408 <td><input type="text" value="Mac OS 7.6-9"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
409 <td class="center"><input type="text" value="1"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
410 <td class="center"><input type="text" value="C"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
411 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
412 <tr class="odd_gradeC">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
413 <td><input type="text" value="Tasman"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
414 <td><input type="text" value="Internet Explorer 5.2"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
415 <td><input type="text" value="Mac OS 8-X"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
416 <td class="center"><input type="text" value="1"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
417 <td class="center"><input type="text" value="C"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
418 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
419 <tr class="even_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
420 <td><input type="text" value="Misc"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
421 <td><input type="text" value="NetFront 3.1"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
422 <td><input type="text" value="Embedded devices"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
423 <td class="center"><input type="text" value="-"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
424 <td class="center"><input type="text" value="C"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
425 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
426 <tr class="odd_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
427 <td><input type="text" value="Misc"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
428 <td><input type="text" value="NetFront 3.4"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
429 <td><input type="text" value="Embedded devices"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
430 <td class="center"><input type="text" value="-"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
431 <td class="center"><input type="text" value="A"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
432 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
433 <tr class="even_gradeX">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
434 <td><input type="text" value="Misc"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
435 <td><input type="text" value="Dillo 0.8"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
436 <td><input type="text" value="Embedded devices"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
437 <td class="center"><input type="text" value="-"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
438 <td class="center"><input type="text" value="X"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
439 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
440 <tr class="odd_gradeX">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
441 <td><input type="text" value="Misc"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
442 <td><input type="text" value="Links"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
443 <td><input type="text" value="Text only"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
444 <td class="center"><input type="text" value="-"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
445 <td class="center"><input type="text" value="X"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
446 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
447 <tr class="even_gradeX">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
448 <td><input type="text" value="Misc"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
449 <td><input type="text" value="Lynx"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
450 <td><input type="text" value="Text only"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
451 <td class="center"><input type="text" value="-"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
452 <td class="center"><input type="text" value="X"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
453 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
454 <tr class="odd_gradeC">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
455 <td><input type="text" value="Misc"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
456 <td><input type="text" value="IE Mobile"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
457 <td><input type="text" value="Windows Mobile 6"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
458 <td class="center"><input type="text" value="-"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
459 <td class="center"><input type="text" value="C"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
460 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
461 <tr class="even_gradeC">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
462 <td><input type="text" value="Misc"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
463 <td><input type="text" value="PSP browser"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
464 <td><input type="text" value="PSP"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
465 <td class="center"><input type="text" value="-"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
466 <td class="center"><input type="text" value="C"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
467 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
468 <tr class="odd_gradeU">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
469 <td><input type="text" value="Other browsers"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
470 <td><input type="text" value="All others"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
471 <td><input type="text" value="-"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
472 <td class="center"><input type="text" value="-"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
473 <td class="center"><input type="text" value="U"></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
474 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
475 </tbody>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
476 </table>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
477 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
478 </form>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
479 <div class="spacer"></div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
480
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
481
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
482 <h1>Examples</h1>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
483 <ul>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
484 <li><a href="index.html">Basic initialisation</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
485 <li><a href="columns.html">Selecting which columns to provide AutoFill on</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
486 <li><a href="scrolling.html">Scrolling a DataTable using fill</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
487 <li><a href="inputs.html">Using with input elements</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
488 <li><a href="callbacks.html">Customisation using callback functions</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
489 </ul>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
490
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
491
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
492 <h1>Initialisation code</h1>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
493 <pre>$.fn.dataTableExt.afnSortData['dom-text'] = function ( oSettings, iColumn )
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
494 {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
495 var aData = [];
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
496 $( 'td:eq('+iColumn+') input', oSettings.oApi._fnGetTrNodes(oSettings) ).each( function () {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
497 aData.push( this.value );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
498 } );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
499 return aData;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
500 }
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
501
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
502 $(document).ready( function () {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
503 var oTable = $('#example').dataTable( {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
504 "aoColumnDefs": [
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
505 { "sSortDataType": "dom-text", "aTargets": [ "_all" ] },
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
506 { "sType": "numeric", "aTargets": [ -2 ] }
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 new AutoFill( oTable );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
510 } );</pre>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
511
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
512 <div id="footer" style="text-align:center;">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
513 <span style="font-size:10px;">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
514 AutoFill and DataTables &copy; Allan Jardine 2009-2010.<br>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
515 </span>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
516 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
517 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
518 </body>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
519 </html>