annotate DataTables-1.9.4/examples/plug-ins/paging_plugin.html @ 9:7300ed4c1481 draft default tip

Uploaded
author saskia-hiltemann
date Mon, 04 Sep 2017 10:49:00 -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.datatables.net/media/images/favicon.ico" />
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
6
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
7 <title>DataTables 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 </style>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
12 <script type="text/javascript" language="javascript" src="../../media/js/jquery.js"></script>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
13 <script type="text/javascript" language="javascript" src="../../media/js/jquery.dataTables.js"></script>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
14 <script type="text/javascript" charset="utf-8">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
15 /* Time between each scrolling frame */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
16 $.fn.dataTableExt.oPagination.iTweenTime = 100;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
17
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
18 $.fn.dataTableExt.oPagination.scrolling = {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
19 "fnInit": function ( oSettings, nPaging, fnCallbackDraw )
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
20 {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
21 var oLang = oSettings.oLanguage.oPaginate;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
22 var oClasses = oSettings.oClasses;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
23 var fnClickHandler = function ( e ) {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
24 if ( oSettings.oApi._fnPageChange( oSettings, e.data.action ) )
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
25 {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
26 fnCallbackDraw( oSettings );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
27 }
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
28 };
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
29
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
30 var sAppend = (!oSettings.bJUI) ?
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
31 '<a class="'+oSettings.oClasses.sPagePrevDisabled+'" tabindex="'+oSettings.iTabIndex+'" role="button">'+oLang.sPrevious+'</a>'+
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
32 '<a class="'+oSettings.oClasses.sPageNextDisabled+'" tabindex="'+oSettings.iTabIndex+'" role="button">'+oLang.sNext+'</a>'
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
33 :
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
34 '<a class="'+oSettings.oClasses.sPagePrevDisabled+'" tabindex="'+oSettings.iTabIndex+'" role="button"><span class="'+oSettings.oClasses.sPageJUIPrev+'"></span></a>'+
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
35 '<a class="'+oSettings.oClasses.sPageNextDisabled+'" tabindex="'+oSettings.iTabIndex+'" role="button"><span class="'+oSettings.oClasses.sPageJUINext+'"></span></a>';
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
36 $(nPaging).append( sAppend );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
37
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
38 var els = $('a', nPaging);
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
39 var nPrevious = els[0],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
40 nNext = els[1];
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
41
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
42 oSettings.oApi._fnBindAction( nPrevious, {action: "previous"}, function() {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
43 /* Disallow paging event during a current paging event */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
44 if ( typeof oSettings.iPagingLoopStart != 'undefined' && oSettings.iPagingLoopStart != -1 )
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
45 {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
46 return;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
47 }
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
48
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
49 oSettings.iPagingLoopStart = oSettings._iDisplayStart;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
50 oSettings.iPagingEnd = oSettings._iDisplayStart - oSettings._iDisplayLength;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
51
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
52 /* Correct for underrun */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
53 if ( oSettings.iPagingEnd < 0 )
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
54 {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
55 oSettings.iPagingEnd = 0;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
56 }
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
57
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
58 var iTween = $.fn.dataTableExt.oPagination.iTweenTime;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
59 var innerLoop = function () {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
60 if ( oSettings.iPagingLoopStart > oSettings.iPagingEnd ) {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
61 oSettings.iPagingLoopStart--;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
62 oSettings._iDisplayStart = oSettings.iPagingLoopStart;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
63 fnCallbackDraw( oSettings );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
64 setTimeout( function() { innerLoop(); }, iTween );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
65 } else {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
66 oSettings.iPagingLoopStart = -1;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
67 }
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
68 };
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
69 innerLoop();
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
70 } );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
71
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
72 oSettings.oApi._fnBindAction( nNext, {action: "next"}, function() {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
73 /* Disallow paging event during a current paging event */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
74 if ( typeof oSettings.iPagingLoopStart != 'undefined' && oSettings.iPagingLoopStart != -1 )
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
75 {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
76 return;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
77 }
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
78
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
79 oSettings.iPagingLoopStart = oSettings._iDisplayStart;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
80
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
81 /* Make sure we are not over running the display array */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
82 if ( oSettings._iDisplayStart + oSettings._iDisplayLength < oSettings.fnRecordsDisplay() )
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
83 {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
84 oSettings.iPagingEnd = oSettings._iDisplayStart + oSettings._iDisplayLength;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
85 }
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
86
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
87 var iTween = $.fn.dataTableExt.oPagination.iTweenTime;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
88 var innerLoop = function () {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
89 if ( oSettings.iPagingLoopStart < oSettings.iPagingEnd ) {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
90 oSettings.iPagingLoopStart++;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
91 oSettings._iDisplayStart = oSettings.iPagingLoopStart;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
92 fnCallbackDraw( oSettings );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
93 setTimeout( function() { innerLoop(); }, iTween );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
94 } else {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
95 oSettings.iPagingLoopStart = -1;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
96 }
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
97 };
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
98 innerLoop();
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
99 } );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
100 },
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
101
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
102 "fnUpdate": function ( oSettings, fnCallbackDraw )
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
103 {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
104 if ( !oSettings.aanFeatures.p )
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
105 {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
106 return;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
107 }
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
108
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
109 /* Loop over each instance of the pager */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
110 var an = oSettings.aanFeatures.p;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
111 for ( var i=0, iLen=an.length ; i<iLen ; i++ )
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
112 {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
113 if ( an[i].childNodes.length !== 0 )
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
114 {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
115 an[i].childNodes[0].className =
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
116 ( oSettings._iDisplayStart === 0 ) ?
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
117 oSettings.oClasses.sPagePrevDisabled : oSettings.oClasses.sPagePrevEnabled;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
118
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
119 an[i].childNodes[1].className =
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
120 ( oSettings.fnDisplayEnd() == oSettings.fnRecordsDisplay() ) ?
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
121 oSettings.oClasses.sPageNextDisabled : oSettings.oClasses.sPageNextEnabled;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
122 }
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
123 }
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
124 }
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
125 }
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
126
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
127 $(document).ready(function() {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
128 $('#example').dataTable( {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
129 "sPaginationType": "scrolling"
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
130 } );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
131 } );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
132 </script>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
133 </head>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
134 <body id="dt_example">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
135 <div id="container">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
136 <div class="full_width big">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
137 DataTables custom pagination plug-in example
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
138 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
139
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
140 <h1>Preamble</h1>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
141 <p>The two default pagination styles that DataTables comes with are great for basic tables, but you might which to add extra customisation or a bit of 'glitz'. This plug-in will scroll the table in an animated style.</p>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
142
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
143 <h1>Live example</h1>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
144 <div id="demo">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
145 <table cellpadding="0" cellspacing="0" border="0" class="display" id="example">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
146 <thead>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
147 <tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
148 <th>Rendering engine</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
149 <th>Browser</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
150 <th>Platform(s)</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
151 <th>Engine version</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
152 <th>CSS grade</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
153 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
154 </thead>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
155 <tbody>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
156 <tr class="gradeX">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
157 <td>Trident</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
158 <td>Internet
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
159 Explorer 4.0</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
160 <td>Win 95+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
161 <td class="center">4</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
162 <td class="center">X</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
163 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
164 <tr class="gradeC">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
165 <td>Trident</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
166 <td>Internet
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
167 Explorer 5.0</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
168 <td>Win 95+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
169 <td class="center">5</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
170 <td class="center">C</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
171 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
172 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
173 <td>Trident</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
174 <td>Internet
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
175 Explorer 5.5</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
176 <td>Win 95+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
177 <td class="center">5.5</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
178 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
179 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
180 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
181 <td>Trident</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
182 <td>Internet
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
183 Explorer 6</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
184 <td>Win 98+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
185 <td class="center">6</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>Trident</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
190 <td>Internet Explorer 7</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
191 <td>Win XP SP2+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
192 <td class="center">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>Trident</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
197 <td>AOL browser (AOL desktop)</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
198 <td>Win XP</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
199 <td class="center">6</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>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
204 <td>Firefox 1.0</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.7</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>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
211 <td>Firefox 1.5</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
212 <td>Win 98+ / OSX.2+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
213 <td class="center">1.8</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>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
218 <td>Firefox 2.0</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
219 <td>Win 98+ / OSX.2+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
220 <td class="center">1.8</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>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
225 <td>Firefox 3.0</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
226 <td>Win 2k+ / OSX.3+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
227 <td class="center">1.9</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>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
232 <td>Camino 1.0</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
233 <td>OSX.2+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
234 <td class="center">1.8</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>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
239 <td>Camino 1.5</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
240 <td>OSX.3+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
241 <td class="center">1.8</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>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
246 <td>Netscape 7.2</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
247 <td>Win 95+ / Mac OS 8.6-9.2</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
248 <td class="center">1.7</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>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
253 <td>Netscape Browser 8</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
254 <td>Win 98SE+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
255 <td class="center">1.7</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>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
260 <td>Netscape Navigator 9</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
261 <td>Win 98+ / OSX.2+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
262 <td class="center">1.8</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>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
267 <td>Mozilla 1.0</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
268 <td>Win 95+ / OSX.1+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
269 <td class="center">1</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>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
274 <td>Mozilla 1.1</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
275 <td>Win 95+ / OSX.1+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
276 <td class="center">1.1</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>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
281 <td>Mozilla 1.2</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
282 <td>Win 95+ / OSX.1+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
283 <td class="center">1.2</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>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
288 <td>Mozilla 1.3</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
289 <td>Win 95+ / OSX.1+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
290 <td class="center">1.3</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>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
295 <td>Mozilla 1.4</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
296 <td>Win 95+ / OSX.1+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
297 <td class="center">1.4</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>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
302 <td>Mozilla 1.5</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
303 <td>Win 95+ / OSX.1+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
304 <td class="center">1.5</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>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
309 <td>Mozilla 1.6</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
310 <td>Win 95+ / OSX.1+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
311 <td class="center">1.6</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>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
316 <td>Mozilla 1.7</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
317 <td>Win 98+ / OSX.1+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
318 <td class="center">1.7</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>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
323 <td>Mozilla 1.8</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
324 <td>Win 98+ / OSX.1+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
325 <td class="center">1.8</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>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
330 <td>Seamonkey 1.1</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
331 <td>Win 98+ / OSX.2+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
332 <td class="center">1.8</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>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
337 <td>Epiphany 2.20</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
338 <td>Gnome</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
339 <td class="center">1.8</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>Webkit</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
344 <td>Safari 1.2</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
345 <td>OSX.3</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
346 <td class="center">125.5</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>Webkit</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
351 <td>Safari 1.3</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
352 <td>OSX.3</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
353 <td class="center">312.8</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>Webkit</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
358 <td>Safari 2.0</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
359 <td>OSX.4+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
360 <td class="center">419.3</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>Webkit</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
365 <td>Safari 3.0</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
366 <td>OSX.4+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
367 <td class="center">522.1</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>Webkit</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
372 <td>OmniWeb 5.5</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
373 <td>OSX.4+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
374 <td class="center">420</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>Webkit</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
379 <td>iPod Touch / iPhone</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
380 <td>iPod</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
381 <td class="center">420.1</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>Webkit</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
386 <td>S60</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
387 <td>S60</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
388 <td class="center">413</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>Presto</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
393 <td>Opera 7.0</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
394 <td>Win 95+ / OSX.1+</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>Presto</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
400 <td>Opera 7.5</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
401 <td>Win 95+ / OSX.2+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
402 <td class="center">-</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
403 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
404 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
405 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
406 <td>Presto</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
407 <td>Opera 8.0</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
408 <td>Win 95+ / OSX.2+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
409 <td class="center">-</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
410 <td class="center">A</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>Presto</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
414 <td>Opera 8.5</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
415 <td>Win 95+ / OSX.2+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
416 <td class="center">-</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>Presto</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
421 <td>Opera 9.0</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
422 <td>Win 95+ / OSX.3+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
423 <td class="center">-</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="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
427 <td>Presto</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
428 <td>Opera 9.2</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
429 <td>Win 88+ / OSX.3+</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">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
432 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
433 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
434 <td>Presto</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
435 <td>Opera 9.5</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
436 <td>Win 88+ / OSX.3+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
437 <td class="center">-</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
438 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
439 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
440 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
441 <td>Presto</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
442 <td>Opera for Wii</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
443 <td>Wii</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
444 <td class="center">-</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
445 <td class="center">A</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>Presto</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
449 <td>Nokia N800</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
450 <td>N800</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">A</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>Presto</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
456 <td>Nintendo DS browser</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
457 <td>Nintendo DS</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
458 <td class="center">8.5</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
459 <td class="center">C/A<sup>1</sup></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
460 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
461 <tr class="gradeC">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
462 <td>KHTML</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
463 <td>Konqureror 3.1</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
464 <td>KDE 3.1</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
465 <td class="center">3.1</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
466 <td class="center">C</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
467 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
468 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
469 <td>KHTML</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
470 <td>Konqureror 3.3</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
471 <td>KDE 3.3</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
472 <td class="center">3.3</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
473 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
474 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
475 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
476 <td>KHTML</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
477 <td>Konqureror 3.5</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
478 <td>KDE 3.5</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
479 <td class="center">3.5</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
480 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
481 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
482 <tr class="gradeX">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
483 <td>Tasman</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
484 <td>Internet Explorer 4.5</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
485 <td>Mac OS 8-9</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">X</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>Tasman</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
491 <td>Internet Explorer 5.1</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
492 <td>Mac OS 7.6-9</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
493 <td class="center">1</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="gradeC">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
497 <td>Tasman</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
498 <td>Internet Explorer 5.2</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
499 <td>Mac OS 8-X</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
500 <td class="center">1</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
501 <td class="center">C</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
502 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
503 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
504 <td>Misc</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
505 <td>NetFront 3.1</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
506 <td>Embedded devices</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
507 <td class="center">-</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
508 <td class="center">C</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
509 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
510 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
511 <td>Misc</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
512 <td>NetFront 3.4</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
513 <td>Embedded devices</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
514 <td class="center">-</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
515 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
516 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
517 <tr class="gradeX">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
518 <td>Misc</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
519 <td>Dillo 0.8</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
520 <td>Embedded devices</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
521 <td class="center">-</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
522 <td class="center">X</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
523 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
524 <tr class="gradeX">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
525 <td>Misc</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
526 <td>Links</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
527 <td>Text only</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
528 <td class="center">-</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
529 <td class="center">X</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
530 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
531 <tr class="gradeX">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
532 <td>Misc</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
533 <td>Lynx</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
534 <td>Text only</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
535 <td class="center">-</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
536 <td class="center">X</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
537 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
538 <tr class="gradeC">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
539 <td>Misc</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
540 <td>IE Mobile</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
541 <td>Windows Mobile 6</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
542 <td class="center">-</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
543 <td class="center">C</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
544 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
545 <tr class="gradeC">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
546 <td>Misc</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
547 <td>PSP browser</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
548 <td>PSP</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
549 <td class="center">-</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
550 <td class="center">C</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
551 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
552 <tr class="gradeU">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
553 <td>Other browsers</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
554 <td>All others</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
555 <td>-</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
556 <td class="center">-</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
557 <td class="center">U</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
558 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
559 </tbody>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
560 <tfoot>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
561 <tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
562 <th>Rendering engine</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
563 <th>Browser</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
564 <th>Platform(s)</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
565 <th>Engine version</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
566 <th>CSS grade</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
567 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
568 </tfoot>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
569 </table>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
570 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
571 <div class="spacer"></div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
572
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
573
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
574 <h1>Initialisation code</h1>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
575 <pre class="brush: js;">/* Time between each scrolling frame */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
576 $.fn.dataTableExt.oPagination.iTweenTime = 100;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
577
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
578 $.fn.dataTableExt.oPagination.scrolling = {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
579 "fnInit": function ( oSettings, nPaging, fnCallbackDraw )
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
580 {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
581 /* Store the next and previous elements in the oSettings object as they can be very
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
582 * usful for automation - particularly testing
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
583 */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
584 var nPrevious = document.createElement( 'div' );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
585 var nNext = document.createElement( 'div' );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
586
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
587 if ( oSettings.sTableId !== '' )
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
588 {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
589 nPaging.setAttribute( 'id', oSettings.sTableId+'_paginate' );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
590 nPrevious.setAttribute( 'id', oSettings.sTableId+'_previous' );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
591 nNext.setAttribute( 'id', oSettings.sTableId+'_next' );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
592 }
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
593
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
594 nPrevious.className = "paginate_disabled_previous";
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
595 nNext.className = "paginate_disabled_next";
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
596
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
597 nPrevious.title = oSettings.oLanguage.oPaginate.sPrevious;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
598 nNext.title = oSettings.oLanguage.oPaginate.sNext;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
599
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
600 nPaging.appendChild( nPrevious );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
601 nPaging.appendChild( nNext );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
602
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
603 $(nPrevious).click( function() {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
604 /* Disallow paging event during a current paging event */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
605 if ( typeof oSettings.iPagingLoopStart != 'undefined' &amp;&amp; oSettings.iPagingLoopStart != -1 )
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
606 {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
607 return;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
608 }
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
609
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
610 oSettings.iPagingLoopStart = oSettings._iDisplayStart;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
611 oSettings.iPagingEnd = oSettings._iDisplayStart - oSettings._iDisplayLength;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
612
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
613 /* Correct for underrun */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
614 if ( oSettings.iPagingEnd &lt; 0 )
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
615 {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
616 oSettings.iPagingEnd = 0;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
617 }
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
618
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
619 var iTween = $.fn.dataTableExt.oPagination.iTweenTime;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
620 var innerLoop = function () {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
621 if ( oSettings.iPagingLoopStart &gt; oSettings.iPagingEnd ) {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
622 oSettings.iPagingLoopStart--;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
623 oSettings._iDisplayStart = oSettings.iPagingLoopStart;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
624 fnCallbackDraw( oSettings );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
625 setTimeout( function() { innerLoop(); }, iTween );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
626 } else {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
627 oSettings.iPagingLoopStart = -1;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
628 }
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
629 };
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
630 innerLoop();
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
631 } );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
632
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
633 $(nNext).click( function() {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
634 /* Disallow paging event during a current paging event */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
635 if ( typeof oSettings.iPagingLoopStart != 'undefined' &amp;&amp; oSettings.iPagingLoopStart != -1 )
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
636 {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
637 return;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
638 }
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
639
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
640 oSettings.iPagingLoopStart = oSettings._iDisplayStart;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
641
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
642 /* Make sure we are not over running the display array */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
643 if ( oSettings._iDisplayStart + oSettings._iDisplayLength &lt; oSettings.fnRecordsDisplay() )
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
644 {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
645 oSettings.iPagingEnd = oSettings._iDisplayStart + oSettings._iDisplayLength;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
646 }
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
647
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
648 var iTween = $.fn.dataTableExt.oPagination.iTweenTime;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
649 var innerLoop = function () {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
650 if ( oSettings.iPagingLoopStart &lt; oSettings.iPagingEnd ) {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
651 oSettings.iPagingLoopStart++;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
652 oSettings._iDisplayStart = oSettings.iPagingLoopStart;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
653 fnCallbackDraw( oSettings );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
654 setTimeout( function() { innerLoop(); }, iTween );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
655 } else {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
656 oSettings.iPagingLoopStart = -1;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
657 }
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
658 };
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
659 innerLoop();
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
660 } );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
661
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
662 /* Take the brutal approach to cancelling text selection */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
663 $(nPrevious).bind( 'selectstart', function () { return false; } );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
664 $(nNext).bind( 'selectstart', function () { return false; } );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
665 },
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
666
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
667 "fnUpdate": function ( oSettings, fnCallbackDraw )
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
668 {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
669 if ( !oSettings.aanFeatures.p )
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
670 {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
671 return;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
672 }
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
673
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
674 /* Loop over each instance of the pager */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
675 var an = oSettings.aanFeatures.p;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
676 for ( var i=0, iLen=an.length ; i&lt;iLen ; i++ )
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
677 {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
678 if ( an[i].childNodes.length !== 0 )
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
679 {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
680 an[i].childNodes[0].className =
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
681 ( oSettings._iDisplayStart === 0 ) ?
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
682 oSettings.oClasses.sPagePrevDisabled : oSettings.oClasses.sPagePrevEnabled;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
683
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
684 an[i].childNodes[1].className =
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
685 ( oSettings.fnDisplayEnd() == oSettings.fnRecordsDisplay() ) ?
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
686 oSettings.oClasses.sPageNextDisabled : oSettings.oClasses.sPageNextEnabled;
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
687 }
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
688 }
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
689 }
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
690 }
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
691
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
692 $(document).ready(function() {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
693 $('#example').dataTable( {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
694 "sPaginationType": "scrolling"
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
695 } );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
696 } );</pre>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
697 <style type="text/css">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
698 @import "../examples_support/syntax/css/shCore.css";
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
699 </style>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
700 <script type="text/javascript" language="javascript" src="../examples_support/syntax/js/shCore.js"></script>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
701
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
702
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
703 <h1>Other examples</h1>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
704 <div class="demo_links">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
705 <h2>Basic initialisation</h2>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
706 <ul>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
707 <li><a href="../basic_init/zero_config.html">Zero configuration</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
708 <li><a href="../basic_init/filter_only.html">Feature enablement</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
709 <li><a href="../basic_init/table_sorting.html">Sorting data</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
710 <li><a href="../basic_init/multi_col_sort.html">Multi-column sorting</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
711 <li><a href="../basic_init/multiple_tables.html">Multiple tables</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
712 <li><a href="../basic_init/hidden_columns.html">Hidden columns</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
713 <li><a href="../basic_init/complex_header.html">Complex headers - grouping with colspan</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
714 <li><a href="../basic_init/dom.html">DOM positioning</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
715 <li><a href="../basic_init/flexible_width.html">Flexible table width</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
716 <li><a href="../basic_init/state_save.html">State saving</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
717 <li><a href="../basic_init/alt_pagination.html">Alternative pagination styles</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
718 <li>Scrolling: <br>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
719 <a href="../basic_init/scroll_x.html">Horizontal</a> /
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
720 <a href="../basic_init/scroll_y.html">Vertical</a> /
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
721 <a href="../basic_init/scroll_xy.html">Both</a> /
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
722 <a href="../basic_init/scroll_y_theme.html">Themed</a> /
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
723 <a href="../basic_init/scroll_y_infinite.html">Infinite</a>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
724 </li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
725 <li><a href="../basic_init/language.html">Change language information (internationalisation)</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
726 <li><a href="../basic_init/themes.html">ThemeRoller themes (Smoothness)</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
727 </ul>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
728
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
729 <h2>Advanced initialisation</h2>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
730 <ul>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
731 <li>Events: <br>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
732 <a href="../advanced_init/events_live.html">Live events</a> /
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
733 <a href="../advanced_init/events_pre_init.html">Pre-init</a> /
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
734 <a href="../advanced_init/events_post_init.html">Post-init</a>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
735 </li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
736 <li><a href="../advanced_init/column_render.html">Column rendering</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
737 <li><a href="../advanced_init/html_sort.html">Sorting without HTML tags</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
738 <li><a href="../advanced_init/dom_multiple_elements.html">Multiple table controls (sDom)</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
739 <li><a href="../advanced_init/length_menu.html">Defining length menu options</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
740 <li><a href="../advanced_init/complex_header.html">Complex headers and hidden columns</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
741 <li><a href="../advanced_init/dom_toolbar.html">Custom toolbar (element) around table</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
742 <li><a href="../advanced_init/highlight.html">Row highlighting with CSS</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
743 <li><a href="../advanced_init/row_grouping.html">Row grouping</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
744 <li><a href="../advanced_init/row_callback.html">Row callback</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
745 <li><a href="../advanced_init/footer_callback.html">Footer callback</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
746 <li><a href="../advanced_init/sorting_control.html">Control sorting direction of columns</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
747 <li><a href="../advanced_init/language_file.html">Change language information from a file (internationalisation)</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
748 <li><a href="../advanced_init/defaults.html">Setting defaults</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
749 <li><a href="../advanced_init/localstorage.html">State saving with localStorage</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
750 <li><a href="../advanced_init/dt_events.html">Custom events</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
751 </ul>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
752
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
753 <h2>API</h2>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
754 <ul>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
755 <li><a href="../api/add_row.html">Dynamically add a new row</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
756 <li><a href="../api/multi_filter.html">Individual column filtering (using "input" elements)</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
757 <li><a href="../api/multi_filter_select.html">Individual column filtering (using "select" elements)</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
758 <li><a href="../api/highlight.html">Highlight rows and columns</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
759 <li><a href="../api/row_details.html">Show and hide details about a particular record</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
760 <li><a href="../api/select_row.html">User selectable rows (multiple rows)</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
761 <li><a href="../api/select_single_row.html">User selectable rows (single row) and delete rows</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
762 <li><a href="../api/editable.html">Editable rows (with jEditable)</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
763 <li><a href="../api/form.html">Submit form with elements in table</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
764 <li><a href="../api/counter_column.html">Index column (static number column)</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
765 <li><a href="../api/show_hide.html">Show and hide columns dynamically</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
766 <li><a href="../api/api_in_init.html">API function use in initialisation object (callback)</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
767 <li><a href="../api/tabs_and_scrolling.html">DataTables scrolling and tabs</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
768 <li><a href="../api/regex.html">Regular expression filtering</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
769 </ul>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
770 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
771
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
772 <div class="demo_links">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
773 <h2>Data sources</h2>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
774 <ul>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
775 <li><a href="../data_sources/dom.html">DOM</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
776 <li><a href="../data_sources/js_array.html">Javascript array</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
777 <li><a href="../data_sources/ajax.html">Ajax source</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
778 <li><a href="../data_sources/server_side.html">Server side processing</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
779 </ul>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
780
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
781 <h2>Server-side processing</h2>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
782 <ul>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
783 <li><a href="../server_side/server_side.html">Obtain server-side data</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
784 <li><a href="../server_side/custom_vars.html">Add extra HTTP variables</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
785 <li><a href="../server_side/post.html">Use HTTP POST</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
786 <li><a href="../server_side/ids.html">Automatic addition of IDs and classes to rows</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
787 <li><a href="../server_side/object_data.html">Reading table data from objects</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
788 <li><a href="../server_side/row_details.html">Show and hide details about a particular record</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
789 <li><a href="../server_side/select_rows.html">User selectable rows (multiple rows)</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
790 <li><a href="../server_side/jsonp.html">JSONP for a cross domain data source</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
791 <li><a href="../server_side/editable.html">jEditable integration with DataTables</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
792 <li><a href="../server_side/defer_loading.html">Deferred loading of Ajax data</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
793 <li><a href="../server_side/pipeline.html">Pipelining data (reduce Ajax calls for paging)</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
794 </ul>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
795
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
796 <h2>Ajax data source</h2>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
797 <ul>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
798 <li><a href="../ajax/ajax.html">Ajax sourced data (array of arrays)</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
799 <li><a href="../ajax/objects.html">Ajax sourced data (array of objects)</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
800 <li><a href="../ajax/defer_render.html">Deferred DOM creation for extra speed</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
801 <li><a href="../ajax/null_data_source.html">Empty data source columns</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
802 <li><a href="../ajax/custom_data_property.html">Use a data source other than aaData (the default)</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
803 <li><a href="../ajax/objects_subarrays.html">Read column data from sub-arrays</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
804 <li><a href="../ajax/deep.html">Read column data from deeply nested properties</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
805 </ul>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
806
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
807 <h2>Plug-ins</h2>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
808 <ul>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
809 <li><a href="../plug-ins/plugin_api.html">Add custom API functions</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
810 <li><a href="../plug-ins/sorting_plugin.html">Sorting and automatic type detection</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
811 <li><a href="../plug-ins/sorting_sType.html">Sorting without automatic type detection</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
812 <li><a href="../plug-ins/paging_plugin.html">Custom pagination controls</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
813 <li><a href="../plug-ins/range_filtering.html">Range filtering / custom filtering</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
814 <li><a href="../plug-ins/dom_sort.html">Live DOM sorting</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
815 <li><a href="../plug-ins/html_sort.html">Automatic HTML type detection</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
816 </ul>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
817 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
818
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
819
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
820 <div id="footer" class="clear" style="text-align:center;">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
821 <p>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
822 Please refer to the <a href="http://www.datatables.net/usage">DataTables documentation</a> for full information about its API properties and methods.<br>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
823 Additionally, there are a wide range of <a href="http://www.datatables.net/extras">extras</a> and <a href="http://www.datatables.net/plug-ins">plug-ins</a> which extend the capabilities of DataTables.
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
824 </p>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
825
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
826 <span style="font-size:10px;">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
827 DataTables designed and created by <a href="http://www.sprymedia.co.uk">Allan Jardine</a> &copy; 2007-2011<br>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
828 DataTables is dual licensed under the <a href="http://www.datatables.net/license_gpl2">GPL v2 license</a> or a <a href="http://www.datatables.net/license_bsd">BSD (3-point) license</a>.
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
829 </span>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
830 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
831 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
832 </body>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
833 </html>