+11
-257
lines changedFilter options
+11
-257
lines changed Original file line number Diff line number Diff line change
@@ -2,6 +2,8 @@
2
2
3
3
[Generate responsive tables using the webapp](http://inn.github.io/responsive-tables/)
4
4
5
+
This project is **not maintained.**
6
+
5
7
## What is it?
6
8
7
9
This repo contains two utilities that do the same thing:
@@ -98,7 +100,7 @@ We're using [pym.js](http://blog.apps.npr.org/pym.js/) to make our tables respon
98
100
To embed a table, you can use this snippet to get started:
99
101
100
102
<div id="table-iframe-container"></div>
101
-
<script src="http://yourdomain.com/path/to/pym.js"></script>
103
+
<script src="https://pym.nprapps.org/pym.v1.min.js"></script>
102
104
<script type="text/javascript">
103
105
(function() {
104
106
var pymParent = new pym.Parent(
@@ -107,7 +109,7 @@ To embed a table, you can use this snippet to get started:
107
109
}());
108
110
</script>
109
111
110
-
Be sure to replace `http://yourdomain.com/path/to/index.html` with the actual URL of your table, and to replace `http://yourdomain.com/path/to/pym.js` with the location of the `pym.js` file, found in the same directory.
112
+
Be sure to replace `http://yourdomain.com/path/to/index.html` with the actual URL of your table.
111
113
112
114
## Troubleshooting
113
115
Original file line number Diff line number Diff line change
@@ -41,7 +41,7 @@ var ResponsiveTable;
41
41
self.createTableColumns('#data table');
42
42
self.populateTable(dataSource, '#data table');
43
43
$('#data table').table().fadeIn();
44
-
self.pym.sendHeightToParent();
44
+
self.pym.sendHeight();
45
45
};
46
46
47
47
self.createTableColumns = function(table){
Original file line number Diff line number Diff line change
@@ -56,6 +56,7 @@ <h1>Responsive Table Generator</h1>
56
56
allowtransparency="true" frameborder="0" scrolling="0" width="125" height="30"></iframe>
57
57
<iframe src="http://ghbtns.com/github-btn.html?user=INN&repo=responsive-tables&type=fork&count=true&size=large"
58
58
allowtransparency="true" frameborder="0" scrolling="0" width="150" height="30"></iframe>
59
+
<p>This app is <strong>no longer maintained</strong>. If you have used it before February 17, 2018, please <a href="http://blog.apps.npr.org/2018/02/15/pym-security-vulnerability.html">update your graphics</a> to avoid a high-severity security vulnerability from Pym.js. If you use this product regularly and would like us to maintain it, please <a href="mailto:labs@inn.org">let us know</a>.</p>
59
60
<p>This simple app generates a ready-for-deployment, embeddable, responsive version of a Google Spreadsheet from the spreadsheet key and some column formatting information.</p>
60
61
<p>It works best with tables that have 5-7 columns. Make sure you <a href="https://support.google.com/docs/answer/37579">publish your spreadsheet to the web</a> before using this generator.</p>
61
62
<ul id="tab-nav">
@@ -123,7 +124,7 @@ <h3>Embedding the table</h3>
123
124
<p>We're using <a href="http://blog.apps.npr.org/pym.js/">pym.js</a> to make our tables responsive when embedded via <code><iframe></code>.</p>
124
125
<p>To embed a table, you can use this snipped to get started:</p>
125
126
<pre><code><div id="table-iframe-container"></div>
126
-
<script src="http://yourdomain.com/path/to/pym.js"></script>
127
+
<script src="https://pym.nprapps.org/pym.v1.min.js"></script>
127
128
<script type="text/javascript">
128
129
(function() {
129
130
var pymParent = new pym.Parent(
@@ -132,7 +133,7 @@ <h3>Embedding the table</h3>
132
133
}());
133
134
</script></code></pre>
134
135
135
-
<p>Be sure to replace <code>http://yourdomain.com/path/to/index.html</code> with the actual URL of your table, and to replace <code>http://yourdomain.com/path/to/pym.js</code> with the location of the pym.js file, found in the same directory.</p>
136
+
<p>Be sure to replace <code>http://yourdomain.com/path/to/index.html</code> with the actual URL of your table.</p>
136
137
</div>
137
138
138
139
<div id="credits" class="tab">
@@ -161,7 +162,7 @@ <h3>Credits</h3>
161
162
<script src="webapp/lib/js/tabletop.js"></script>
162
163
<script src="webapp/lib/js/bootstrap-transition.js"></script>
163
164
<script src="webapp/lib/js/bootstrap-collapse.js"></script>
164
-
<script src="assets/pym.js"></script>
165
+
<script src="https://pym.nprapps.org/pym.v1.min.js"></script>
165
166
<!-- Mandatory in IE 6, 7, 8 and 9. -->
166
167
<!--[if IE]>
167
168
<script type="text/javascript" src="/webapps/lib/js/jszip-utils-ie.min.js"></script>
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@
26
26
27
27
<div id="data"></div>
28
28
29
-
<script src="pym.js"></script>
29
+
<script src="https://pym.nprapps.org/pym.v1.min.js"></script>
30
30
<script src="tablesaw/tablesaw.js"></script>
31
31
<script src="tabletop.js"></script>
32
32
<script src="responsiveTable.js"></script>
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@
26
26
27
27
<div id="data"></div>
28
28
29
-
<script src="../assets/pym.js"></script>
29
+
<script src="https://pym.nprapps.org/pym.v1.min.js"></script>
30
30
<script src="../assets/tablesaw/tablesaw.js"></script>
31
31
<script src="../assets/tabletop.js"></script>
32
32
<script src="../assets/responsiveTable.js"></script>
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4