annotate DataTables-1.9.4/extras/TableTools/tabs.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>TableTools 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_jui.css";
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
11 @import "../../examples/examples_support/themes/smoothness/jquery-ui-1.8.4.custom.css";
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
12 @import "media/css/TableTools_JUI.css";
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
13 .ui-tabs .ui-tabs-panel { padding: 10px }
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
14 </style>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
15 <script type="text/javascript" charset="utf-8" src="../../media/js/jquery.js"></script>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
16 <script type="text/javascript" charset="utf-8" src="../../media/js/jquery.dataTables.js"></script>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
17 <script type="text/javascript" charset="utf-8" src="../../examples/examples_support/jquery-ui-tabs.js"></script>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
18 <script type="text/javascript" charset="utf-8" src="media/js/ZeroClipboard.js"></script>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
19 <script type="text/javascript" charset="utf-8" src="media/js/TableTools.js"></script>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
20 <script type="text/javascript" charset="utf-8">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
21 $(document).ready(function() {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
22 $("#tabs").tabs( {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
23 "show": function(event, ui) {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
24 var jqTable = $('table.display', ui.panel);
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
25 if ( jqTable.length > 0 ) {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
26 var oTableTools = TableTools.fnGetInstance( jqTable[0] );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
27 if ( oTableTools != null && oTableTools.fnResizeRequired() )
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
28 {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
29 /* A resize of TableTools' buttons and DataTables' columns is only required on the
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
30 * first visible draw of the table
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
31 */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
32 jqTable.dataTable().fnAdjustColumnSizing();
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
33 oTableTools.fnResizeButtons();
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
34 }
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
35 }
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
36 }
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
37 } );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
38
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
39 $('#example1').dataTable( {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
40 "bJQueryUI": true,
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
41 "sPaginationType": "full_numbers",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
42 "sDom": '<"H"Tfr>t<"F"ip>'
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
43 } );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
44
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
45 $('#example2').dataTable( {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
46 "bJQueryUI": true,
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
47 "sPaginationType": "full_numbers",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
48 "sDom": '<"H"Tfr>t<"F"ip>'
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
49 } );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
50 } );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
51 </script>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
52 </head>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
53 <body id="dt_example">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
54 <div id="container">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
55 <div class="full_width big">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
56 TableTools example
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
57 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
58
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
59 <h1>Preamble</h1>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
60 <p>This example shows the basic initialisation of TableTools by simply including the 'T' marker in DataTables' sDom parameter. This tell DataTables to insert the TableTools toolbar in that location. Remember to include the Javascript and CSS source files as well!</p>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
61 <p>It is worth noting that you might need to <a href="swf_path.html">set the <i>sSwfPath</i> parameter</a> to tell TableTools where to find the SWF file for copy and file save.</p>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
62
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
63 <h1>Live example</h1>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
64 <div id="demo">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
65 <div id="tabs">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
66 <ul>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
67 <li><a href="#tabs-1">Trident browsers</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
68 <li><a href="#tabs-2">Gecko browsers</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
69 </ul>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
70
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
71 <div id="tabs-1">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
72 <table cellpadding="0" cellspacing="0" border="0" class="display" id="example1">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
73 <thead>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
74 <tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
75 <th>Rendering engine</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
76 <th>Browser</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
77 <th>Platform(s)</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
78 <th>Engine version</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
79 <th>Grade</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
80 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
81 </thead>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
82 <tfoot>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
83 <tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
84 <th>Rendering engine</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
85 <th>Browser</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
86 <th>Platform(s)</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
87 <th>Engine version</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
88 <th>Grade</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
89 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
90 </tfoot>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
91 <tbody>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
92 <tr class="odd gradeX">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
93 <td>Trident</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
94 <td>Internet
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
95 Explorer 4.0</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
96 <td>Win 95+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
97 <td class="center">4</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
98 <td class="center">X</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
99 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
100 <tr class="odd gradeC">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
101 <td>Trident</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
102 <td>Internet
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
103 Explorer 5.0</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
104 <td>Win 95+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
105 <td class="center">5</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
106 <td class="center">C</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
107 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
108 <tr class="odd gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
109 <td>Trident</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
110 <td>Internet
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
111 Explorer 5.5</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
112 <td>Win 95+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
113 <td class="center">5.5</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
114 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
115 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
116 <tr class="odd gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
117 <td>Trident</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
118 <td>Internet
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
119 Explorer 6</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
120 <td>Win 98+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
121 <td class="center">6</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
122 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
123 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
124 <tr class="odd gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
125 <td>Trident</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
126 <td>Internet Explorer 7</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
127 <td>Win XP SP2+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
128 <td class="center">7</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
129 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
130 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
131 <tr class="odd gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
132 <td>Trident</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
133 <td>AOL browser (AOL desktop)</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
134 <td>Win XP</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
135 <td class="center">6</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
136 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
137 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
138 <tbody>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
139 </table>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
140 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
141
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
142
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
143 <div id="tabs-2">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
144 <table cellpadding="0" cellspacing="0" border="0" class="display" id="example2">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
145 <thead>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
146 <tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
147 <th>Rendering engine</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
148 <th>Browser</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
149 <th>Platform(s)</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
150 <th>Engine version</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
151 <th>Grade</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
152 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
153 </thead>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
154 <tfoot>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
155 <tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
156 <th>Rendering engine</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
157 <th>Browser</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
158 <th>Platform(s)</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
159 <th>Engine version</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
160 <th>Grade</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
161 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
162 </tfoot>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
163 <tbody>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
164 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
165 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
166 <td>Firefox 1.0</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
167 <td>Win 98+ / OSX.2+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
168 <td class="center">1.7</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
169 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
170 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
171 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
172 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
173 <td>Firefox 1.5</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
174 <td>Win 98+ / OSX.2+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
175 <td class="center">1.8</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
176 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
177 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
178 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
179 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
180 <td>Firefox 2.0</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
181 <td>Win 98+ / OSX.2+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
182 <td class="center">1.8</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
183 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
184 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
185 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
186 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
187 <td>Firefox 3.0</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
188 <td>Win 2k+ / OSX.3+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
189 <td class="center">1.9</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
190 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
191 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
192 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
193 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
194 <td>Camino 1.0</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
195 <td>OSX.2+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
196 <td class="center">1.8</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
197 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
198 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
199 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
200 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
201 <td>Camino 1.5</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
202 <td>OSX.3+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
203 <td class="center">1.8</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
204 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
205 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
206 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
207 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
208 <td>Netscape 7.2</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
209 <td>Win 95+ / Mac OS 8.6-9.2</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
210 <td class="center">1.7</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
211 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
212 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
213 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
214 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
215 <td>Netscape Browser 8</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
216 <td>Win 98SE+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
217 <td class="center">1.7</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
218 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
219 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
220 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
221 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
222 <td>Netscape Navigator 9</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
223 <td>Win 98+ / OSX.2+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
224 <td class="center">1.8</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
225 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
226 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
227 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
228 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
229 <td>Mozilla 1.0</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
230 <td>Win 95+ / OSX.1+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
231 <td class="center">1</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
232 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
233 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
234 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
235 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
236 <td>Mozilla 1.1</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
237 <td>Win 95+ / OSX.1+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
238 <td class="center">1.1</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
239 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
240 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
241 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
242 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
243 <td>Mozilla 1.2</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
244 <td>Win 95+ / OSX.1+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
245 <td class="center">1.2</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
246 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
247 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
248 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
249 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
250 <td>Mozilla 1.3</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
251 <td>Win 95+ / OSX.1+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
252 <td class="center">1.3</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
253 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
254 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
255 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
256 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
257 <td>Mozilla 1.4</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
258 <td>Win 95+ / OSX.1+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
259 <td class="center">1.4</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
260 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
261 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
262 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
263 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
264 <td>Mozilla 1.5</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
265 <td>Win 95+ / OSX.1+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
266 <td class="center">1.5</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
267 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
268 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
269 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
270 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
271 <td>Mozilla 1.6</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
272 <td>Win 95+ / OSX.1+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
273 <td class="center">1.6</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
274 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
275 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
276 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
277 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
278 <td>Mozilla 1.7</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
279 <td>Win 98+ / OSX.1+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
280 <td class="center">1.7</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
281 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
282 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
283 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
284 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
285 <td>Mozilla 1.8</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
286 <td>Win 98+ / OSX.1+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
287 <td class="center">1.8</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
288 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
289 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
290 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
291 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
292 <td>Seamonkey 1.1</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
293 <td>Win 98+ / OSX.2+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
294 <td class="center">1.8</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
295 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
296 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
297 <tr class="gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
298 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
299 <td>Epiphany 2.20</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
300 <td>Gnome</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
301 <td class="center">1.8</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
302 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
303 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
304 </tbody>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
305 </table>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
306 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
307 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
308 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
309 <div class="spacer"></div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
310
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
311 <h1>Initialisation code</h1>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
312 <pre>$(document).ready( function () {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
313 $('#example').dataTable( {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
314 "sDom": 'T&lt;"clear"&gt;lfrtip'
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
315 } );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
316 } );</pre>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
317
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
318
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
319 <h1>Other examples</h1>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
320 <ul>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
321 <li><a href="index.html">Basic initialisation</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
322 <li><a href="swf_path.html">Setting the SWF path</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
323 <li><a href="alter_buttons.html">Custom button arrangement</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
324 <li><a href="button_text.html">Button text alteration</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
325 <li><a href="collection.html">Using button collections</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
326 <li><a href="theme.html">Using jQuery UI themes</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
327 <li><a href="bootstrap.html">Styling with Twitter Bootstrap</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
328 <li><a href="multi_instance.html">Multiple TableTools toolbars for a single table</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
329 <li><a href="multiple_tables.html">Multiple DataTables with a single initialisation</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
330 <li><a href="select_multi.html">User selectable rows (multiple rows)</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
331 <li><a href="select_single.html">User selectable rows (single row)</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
332 <li><a href="alt_init.html">Alternative initialisation using 'new TableTools()'</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
333 <li><a href="defaults.html">Altering the TableTools defaults</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
334 <li><a href="plug-in.html">TableTools plug-in buttons</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
335 <li><a href="pdf_message.html">Customising the PDF output (adding text and orientation)</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
336 </ul>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
337
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
338
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
339 <div id="footer" style="text-align:center;">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
340 <span style="font-size:10px;">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
341 TableTools and DataTables &copy; Allan Jardine 2009-2011.<br>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
342 Flash 10 save / copy operations are performed by a modified version of <a href="http://code.google.com/p/zeroclipboard/">Zero Clipboard</a>.<br>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
343 The icons used in the toolbar are modified from <a href="http://www.addictedtocoffee.de/">Oliver Twardowski's</a> <a href="http://www.smashingmagazine.com/2009/05/20/flavour-extended-the-ultimate-icon-set-for-web-designers/">Flavours Icon set</a>.
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
344 </span>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
345 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
346 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
347 </body>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
348 </html>