0
|
1 <!doctype html>
|
|
2 <html lang="en">
|
|
3 <head>
|
|
4 <meta charset="utf-8">
|
|
5 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
6 <meta name="viewport" content="width=device-width, initial-scale=1">
|
|
7 <title>TableSaw Column Toggle Table</title>
|
|
8
|
|
9 <link rel="stylesheet" href="../dist/tablesaw.css">
|
|
10 <link rel="stylesheet" href="demo.css">
|
|
11 <link rel="stylesheet" href="//filamentgroup.github.io/demo-head/demohead.css">
|
|
12
|
|
13 <script src="../dist/tablesaw.js"></script>
|
|
14 <script src="../dist/tablesaw-init.js"></script>
|
|
15 <script src="//filamentgroup.github.io/demo-head/loadfont.js"></script>
|
|
16 </head>
|
|
17 <body>
|
|
18 <div class="demo-header">
|
|
19 <div class="company">
|
|
20 <img src="http://filamentgroup.com/images/fg-logo-positive-sm-crop.png">
|
|
21 </div>
|
|
22 <div class="details">
|
|
23 <h1 class="description-container">Demo of <span class="repo-name">Tablesaw</span>
|
|
24 <span class="description">A group of plugins for responsive tables.</span>
|
|
25 </h1>
|
|
26 <ul class="outbound-links">
|
|
27 <li><a href="https://github.com/filamentgroup/tablesaw">Code</a></li>
|
|
28 <li><a href="https://github.com/filamentgroup/tablesaw/issues">Issues</a></li>
|
|
29 </ul>
|
|
30 </div>
|
|
31 </div>
|
|
32 <div class="nav-container">
|
|
33 <div class="docs-globalnav">
|
|
34 <nav class="docs-nav">
|
|
35 <a href="kitchensink.html" class="current">Kitchen Sink</a>
|
|
36 <a href="modeswitch.html">Mode Switch</a>
|
|
37 <a href="sort.html">Sortable</a>
|
|
38 <a href="stack.html">Stack</a>
|
|
39 <a href="stackonly.html">Stack Only</a>
|
|
40 <a href="swipe.html">Swipe Table</a>
|
|
41 <a href="toggle.html">Toggle</a>
|
|
42 </nav>
|
|
43 </div>
|
|
44 </div>
|
|
45 <div class="docs-main">
|
|
46 <h3 class="docs">Swipe Mode, <del>ModeSwitch</del>, Minimap, Sortable, SortableSwitch</h3>
|
|
47 <table id="table2" class="tablesaw" data-tablesaw-mode="swipe" data-tablesaw-sortable data-tablesaw-sortable-switch data-tablesaw-minimap>
|
|
48 <thead>
|
|
49 <tr>
|
|
50 <th scope="col" data-tablesaw-sortable-col data-tablesaw-sortable-default-col data-tablesaw-priority="persist">Movie Title</th>
|
|
51 <th scope="col" data-tablesaw-sortable-col data-tablesaw-priority="3">Rank</th>
|
|
52 <th scope="col" data-tablesaw-sortable-col data-tablesaw-priority="persist">Year</th>
|
|
53 <th scope="col" data-tablesaw-sortable-col data-tablesaw-priority="1"><abbr title="Rotten Tomato Rating">Rating</abbr></th>
|
|
54 <th scope="col" data-tablesaw-sortable-col data-tablesaw-priority="4">Reviews</th>
|
|
55 </tr>
|
|
56 </thead>
|
|
57 <tbody>
|
|
58 <tr>
|
|
59 <td><a href="http://en.wikipedia.org/wiki/Citizen_Kane">Citizen Kane</a></td>
|
|
60 <td class="har">1</td>
|
|
61 <td>1941</td>
|
|
62 <td>100%</td>
|
|
63 <td>74</td>
|
|
64 </tr>
|
|
65 <tr>
|
|
66 <td><a href="http://en.wikipedia.org/wiki/Casablanca_(film)">Casablanca</a></td>
|
|
67 <td>2</td>
|
|
68 <td>1942</td>
|
|
69 <td>97%</td>
|
|
70 <td>64</td>
|
|
71 </tr>
|
|
72 <tr>
|
|
73 <td><a href="http://en.wikipedia.org/wiki/The_Godfather">The Godfather</a></td>
|
|
74 <td>3</td>
|
|
75 <td>1972</td>
|
|
76 <td>97%</td>
|
|
77 <td>87</td>
|
|
78 </tr>
|
|
79 <tr>
|
|
80 <td><a href="http://en.wikipedia.org/wiki/Gone_with_the_Wind_(film)">Gone with the Wind</a></td>
|
|
81 <td>4</td>
|
|
82 <td>1939</td>
|
|
83 <td>96%</td>
|
|
84 <td>87</td>
|
|
85 </tr>
|
|
86 <tr>
|
|
87 <td><a href="http://en.wikipedia.org/wiki/Lawrence_of_Arabia_(film)">Lawrence of Arabia</a></td>
|
|
88 <td>5</td>
|
|
89 <td>1962</td>
|
|
90 <td>94%</td>
|
|
91 <td>87</td>
|
|
92 </tr>
|
|
93 </tbody>
|
|
94 </table>
|
|
95 </div>
|
|
96
|
|
97 </body>
|
|
98 </html>
|