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, ModeSwitch, Minimap, Sortable, SortableSwitch</h3>
|
|
47 <table id="table2" class="tablesaw" data-tablesaw-mode="swipe" data-tablesaw-sortable data-tablesaw-sortable-switch data-tablesaw-minimap data-tablesaw-mode-switch>
|
|
48 <caption>This is a table caption. This is a table caption. This is a table caption. This is a table caption. This is a table caption. This is a table caption. This is a table caption. This is a table caption. This is a table caption. This is a table caption. This is a table caption. </caption>
|
|
49 <thead>
|
|
50 <tr>
|
|
51 <th scope="col" data-tablesaw-sortable-col data-tablesaw-sortable-default-col data-tablesaw-priority="persist">Movie Title</th>
|
|
52 <th scope="col" data-tablesaw-sortable-col data-tablesaw-priority="3">Rank</th>
|
|
53 <th scope="col" data-tablesaw-sortable-col data-tablesaw-priority="2">Year</th>
|
|
54 <th scope="col" data-tablesaw-sortable-col data-tablesaw-priority="1"><abbr title="Rotten Tomato Rating">Rating</abbr></th>
|
|
55 <th scope="col" data-tablesaw-sortable-col data-tablesaw-priority="4">Reviews</th>
|
|
56 </tr>
|
|
57 </thead>
|
|
58 <tbody>
|
|
59 <tr>
|
|
60 <td><a href="http://en.wikipedia.org/wiki/Citizen_Kane">Citizen Kane</a></td>
|
|
61 <td class="har">1</td>
|
|
62 <td>1941</td>
|
|
63 <td>100%</td>
|
|
64 <td>74</td>
|
|
65 </tr>
|
|
66 <tr>
|
|
67 <td><a href="http://en.wikipedia.org/wiki/Casablanca_(film)">Casablanca</a></td>
|
|
68 <td>2</td>
|
|
69 <td>1942</td>
|
|
70 <td>97%</td>
|
|
71 <td>64</td>
|
|
72 </tr>
|
|
73 <tr>
|
|
74 <td><a href="http://en.wikipedia.org/wiki/The_Godfather">The Godfather</a></td>
|
|
75 <td>3</td>
|
|
76 <td>1972</td>
|
|
77 <td>97%</td>
|
|
78 <td>87</td>
|
|
79 </tr>
|
|
80 <tr>
|
|
81 <td><a href="http://en.wikipedia.org/wiki/Gone_with_the_Wind_(film)">Gone with the Wind</a></td>
|
|
82 <td>4</td>
|
|
83 <td>1939</td>
|
|
84 <td>96%</td>
|
|
85 <td>87</td>
|
|
86 </tr>
|
|
87 <tr>
|
|
88 <td><a href="http://en.wikipedia.org/wiki/Lawrence_of_Arabia_(film)">Lawrence of Arabia</a></td>
|
|
89 <td>5</td>
|
|
90 <td>1962</td>
|
|
91 <td>94%</td>
|
|
92 <td>87</td>
|
|
93 </tr>
|
|
94 <tr>
|
|
95 <td><a href="http://en.wikipedia.org/wiki/Lawrence_of_Arabia_(film)">Lawrence of Arabia</a></td>
|
|
96 <td>5</td>
|
|
97 <td>1962</td>
|
|
98 <td>94%</td>
|
|
99 <td>87</td>
|
|
100 </tr>
|
|
101 <tr>
|
|
102 <td><a href="http://en.wikipedia.org/wiki/Lawrence_of_Arabia_(film)">Lawrence of Arabia</a></td>
|
|
103 <td>5</td>
|
|
104 <td>1962</td>
|
|
105 <td>94%</td>
|
|
106 <td>87</td>
|
|
107 </tr>
|
|
108 <tr>
|
|
109 <td><a href="http://en.wikipedia.org/wiki/Lawrence_of_Arabia_(film)">Lawrence of Arabia</a></td>
|
|
110 <td>5</td>
|
|
111 <td>1962</td>
|
|
112 <td>94%</td>
|
|
113 <td>87</td>
|
|
114 </tr>
|
|
115 <tr>
|
|
116 <td><a href="http://en.wikipedia.org/wiki/Lawrence_of_Arabia_(film)">Lawrence of Arabia</a></td>
|
|
117 <td>5</td>
|
|
118 <td>1962</td>
|
|
119 <td>94%</td>
|
|
120 <td>87</td>
|
|
121 </tr>
|
|
122 <tr>
|
|
123 <td><a href="http://en.wikipedia.org/wiki/Lawrence_of_Arabia_(film)">Lawrence of Arabia</a></td>
|
|
124 <td>5</td>
|
|
125 <td>1962</td>
|
|
126 <td>94%</td>
|
|
127 <td>87</td>
|
|
128 </tr>
|
|
129 <tr>
|
|
130 <td><a href="http://en.wikipedia.org/wiki/Lawrence_of_Arabia_(film)">Lawrence of Arabia</a></td>
|
|
131 <td>5</td>
|
|
132 <td>1962</td>
|
|
133 <td>94%</td>
|
|
134 <td>87</td>
|
|
135 </tr>
|
|
136 <tr>
|
|
137 <td><a href="http://en.wikipedia.org/wiki/Lawrence_of_Arabia_(film)">Lawrence of Arabia</a></td>
|
|
138 <td>5</td>
|
|
139 <td>1962</td>
|
|
140 <td>94%</td>
|
|
141 <td>87</td>
|
|
142 </tr>
|
|
143 <tr>
|
|
144 <td><a href="http://en.wikipedia.org/wiki/Lawrence_of_Arabia_(film)">Lawrence of Arabia</a></td>
|
|
145 <td>5</td>
|
|
146 <td>1962</td>
|
|
147 <td>94%</td>
|
|
148 <td>87</td>
|
|
149 </tr>
|
|
150 </tbody>
|
|
151 </table>
|
|
152 </div>
|
|
153
|
|
154 </body>
|
|
155 </html>
|