@@ -5,74 +5,6 @@ layout: docs
55
66---
77
8- <script type =" text/javascript " >
9- var DIGITAL_CLIMATE_STRIKE_OPTIONS = {
10- /**
11- * Specify view cookie expiration. After initial view, widget will not be
12- * displayed to a user again until after this cookie expires. Defaults to
13- * one day.
14- */
15- cookieExpirationDays: 1 , // @type {number}
16-
17- /**
18- * Set the language of the widget. We currently support:
19- * 'en': English
20- * 'de': German
21- * 'es': Spanish
22- * 'cs': Czech
23- * 'fr': French
24- * 'nl': Dutch
25- * Defaults to null, which will obey the nagivator.language setting of the
26- * viewer's browser.
27- */
28- language: null , // @type {string}
29-
30- /**
31- * Allow you to override the iFrame hostname. Defaults to https://assets.digitalclimatestrike.net
32- */
33- iframeHost: ' https://assets.digitalclimatestrike.net' , // @type {string}
34-
35- /**
36- * Prevents the widget iframe from loading Google Analytics. Defaults to
37- * false. (Google Analytics will also be disabled if doNotTrack is set on
38- * the user's browser.)
39- */
40- disableGoogleAnalytics: true , // @type {boolean}
41-
42- /**
43- * Always show the widget, even when someone has closed the widget and set the cookie on their device.
44- * Useful for testing. Defaults to false.
45- */
46- alwaysShowWidget: false , // @type {boolean}
47-
48- /**
49- * Automatically makes the widget full page. Defaults to false.
50- */
51- forceFullPageWidget: false , // @type {boolean}
52-
53- /**
54- * For the full page widget, shows a close button "x" and hides the message about the site being
55- * available tomorrow. Defaults to false.
56- */
57- showCloseButtonOnFullPageWidget: true , // @type {boolean}
58-
59- /**
60- * The date when the sticky footer widget should start showing on your web site.
61- * Note: the month is one integer less than the number of the month. E.g. 8 is September, not August.
62- * Defaults to new Date(2019, 7, 1) (August 1st, 2019).
63- */
64- footerDisplayStartDate: new Date (), // @ type {Date object}
65-
66- /**
67- * The date when the full page widget should showing on your web site for 24 hours.
68- * Note: the month is one integer less than the number of the month. E.g. 8 is September, not August.
69- * Defaults to new Date(2019, 8, 20) (September 20th, 2019)
70- */
71- fullPageDisplayStartDate: new Date (2019 , 8 , 20 ), // @ type {Date object}
72- };
73- </script >
74- <script src =" https://assets.digitalclimatestrike.net/widget.js " async ></script >
75-
768<div class =" container padding-top-40 padding-bottom-50 " data-nav-waypoint >
779 <div class =" copy-block " >
7810 <h3 class="h3 h3--blue margin-bottom-10">The more you know.</h3>
0 commit comments