Debian Codegraph @

index.html

raw symbols SCIP
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <title>Basic Tablesorter Demo</title>
6
7 <!-- Demo styling -->
8 <link href="docs/css/jq.css" rel="stylesheet">
9
10 <!-- jQuery: required (tablesorter works with jQuery 1.2.3+) -->
11 <script src="docs/js/jquery-1.2.6.min.js"></script>
12
13 <!-- Pick a theme, load the plugin & initialize plugin -->
14 <link href="dist/css/theme.default.min.css" rel="stylesheet">
15 <script src="dist/js/jquery.tablesorter.min.js"></script>
16 <script src="dist/js/jquery.tablesorter.widgets.min.js"></script>
17 <script>
18 $(function(){
19 $('table').tablesorter({
20 widgets : ['zebra', 'columns'],
21 usNumberFormat : false,
22 sortReset : true,
23 sortRestart : true
24 });
25 });
26 </script>
27
28 </head>
29 <body>
30 <div class="demo">
31 <h1><a href="https://github.com/Mottie/tablesorter">table<em>sorter</em></a></h1>
32 <p>By Christian Bach; github updates by <a href="https://github.com/Mottie/">Rob G</a><br>
33 <a href="docs/index.html">Complete docs included</a> (updated with missing docs from <a href="http://wowmotty.blogspot.com/2011/06/jquery-tablesorter-missing-docs.html">this blog post</a>)
34 </p>
35
36 <table class="tablesorter">
37 <thead>
38 <tr>
39 <th>AlphaNumeric Sort</th>
40 <th>Currency</th>
41 <th>Alphabetical</th>
42 <th>Sites</th>
43 </tr>
44 </thead>
45 <tbody>
46 <tr><td>abc 123</td><td>&#163;10,40</td><td>Koala</td><td>http://www.google.com</td></tr>
47 <tr><td>abc 1</td><td>&#163;234,10</td><td>Ox</td><td>http://www.yahoo.com</td></tr>
48 <tr><td>abc 9</td><td>&#163;10,33</td><td>Girafee</td><td>http://www.facebook.com</td></tr>
49 <tr><td>zyx 24</td><td>&#163;10</td><td>Bison</td><td>http://www.whitehouse.gov/</td></tr>
50 <tr><td>abc 11</td><td>&#163;3,20</td><td>Chimp</td><td>http://www.ucla.edu/</td></tr>
51 <tr><td>abc 2</td><td>&#163;56,10</td><td>Elephant</td><td>http://www.wikipedia.org/</td></tr>
52 <tr><td>abc 9</td><td>&#163;3,20</td><td>Lion</td><td>http://www.nytimes.com/</td></tr>
53 <tr><td>ABC 10</td><td>&#163;87,00</td><td>Zebra</td><td>https://github.com</td></tr>
54 <tr><td>zyx 1</td><td>&#163;99,90</td><td>Koala</td><td>http://www.mit.edu/</td></tr>
55 <tr><td>zyx 12</td><td>&#163;234,10</td><td>Llama</td><td>http://www.nasa.gov/</td></tr>
56 </tbody>
57 </table>
58
59 <p>This is a quick demo of the columns & zebra widget with the <a href="docs/index.html#sortreset"><code>sortReset</code></a> option set to <code>true</code> (clicking to sort a third time will reset the sort) using jQuery v1.2.6.</p>
60
61 </div>
62 </body></html>