j1-template 2022.0.9 → 2022.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/themes/j1/modules/ads/google_ad_content_home.html +11 -0
- data/_includes/themes/j1/modules/ads/google_ad_top_home.html +11 -0
- data/apps/public/cc/index.adoc +0 -1
- data/assets/data/article_navigator/index.html +0 -1
- data/assets/data/news_panel_posts/index.html +0 -1
- data/assets/error_pages/HTTP445.html +5 -4
- data/assets/error_pages/HTTP446.html +2 -2
- data/assets/error_pages/HTTP447.html +110 -0
- data/assets/error_pages/HTTP448.html +111 -0
- data/assets/themes/j1/adapter/js/advertising.js +442 -0
- data/assets/themes/j1/adapter/js/algolia.js +10 -13
- data/assets/themes/j1/adapter/js/analytics.js +259 -0
- data/assets/themes/j1/adapter/js/asciidoctor.js +10 -13
- data/assets/themes/j1/adapter/js/attic.js +10 -5
- data/assets/themes/j1/adapter/js/bmd.js +10 -14
- data/assets/themes/j1/adapter/js/carousel.js +10 -13
- data/assets/themes/j1/adapter/js/clipboard.js +9 -10
- data/assets/themes/j1/adapter/js/comments.js +407 -0
- data/assets/themes/j1/adapter/js/cookieConsent.js +107 -84
- data/assets/themes/j1/adapter/js/fab.js +11 -11
- data/assets/themes/j1/adapter/js/framer.js +59 -64
- data/assets/themes/j1/adapter/js/j1.js +203 -258
- data/assets/themes/j1/adapter/js/justifiedGallery.js +12 -14
- data/assets/themes/j1/adapter/js/justifiedGalleryCustomizer.js +10 -13
- data/assets/themes/j1/adapter/js/lightbox.js +12 -9
- data/assets/themes/j1/adapter/js/logger.js +11 -5
- data/assets/themes/j1/adapter/js/mmenu.js +11 -12
- data/assets/themes/j1/adapter/js/navigator.js +13 -12
- data/assets/themes/j1/adapter/js/quicksearch.js +10 -13
- data/assets/themes/j1/adapter/js/rouge.js +11 -14
- data/assets/themes/j1/adapter/js/rtable.js +10 -13
- data/assets/themes/j1/adapter/js/rtextResizer.js +10 -13
- data/assets/themes/j1/adapter/js/scroller.js +14 -12
- data/assets/themes/j1/adapter/js/themer.js +12 -3
- data/assets/themes/j1/adapter/js/toccer.js +10 -13
- data/assets/themes/j1/adapter/js/translator.js +50 -96
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +6 -0
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
- data/assets/themes/j1/core/js/template.js +13 -5
- data/assets/themes/j1/core/js/template.min.js +1 -1
- data/assets/themes/j1/core/js/template.min.js.map +1 -1
- data/assets/themes/j1/modules/advertising/js/google/adInitializer.js +127 -0
- data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.js +11 -2
- data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.min.js +1 -1
- data/assets/themes/j1/modules/deeplAPI/js/deeplAPI.2.js +1 -1
- data/assets/themes/j1/modules/deeplAPI/js/deeplAPI.js +1 -1
- data/assets/themes/j1/modules/scroller/js/scroller.js +1 -1
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +1 -1
- data/lib/starter_web/_config.yml +1 -13
- data/lib/starter_web/_data/apps/carousel.yml +2 -2
- data/lib/starter_web/_data/apps/defaults/carousel.yml +3 -2
- data/lib/starter_web/_data/apps/defaults/justifiedGallery.yml +2 -2
- data/lib/starter_web/_data/apps/defaults/justifiedGalleryCustomizer.yml +2 -2
- data/lib/starter_web/_data/apps/defaults/lightGallery.yml +2 -2
- data/lib/starter_web/_data/apps/defaults/lightbox.yml +2 -2
- data/lib/starter_web/_data/apps/justifiedGallery.yml +2 -2
- data/lib/starter_web/_data/apps/justifiedGalleryCustomizer.yml +2 -2
- data/lib/starter_web/_data/apps/lightGallery.yml +2 -2
- data/lib/starter_web/_data/apps/lightbox.yml +2 -2
- data/lib/starter_web/_data/blocks/banner.yml +3 -2
- data/lib/starter_web/_data/blocks/defaults/banner.yml +9 -0
- data/lib/starter_web/_data/blocks/defaults/footer.yml +9 -0
- data/lib/starter_web/_data/blocks/defaults/panel.yml +9 -0
- data/lib/starter_web/_data/blocks/footer.yml +3 -2
- data/lib/starter_web/_data/blocks/panel.yml +3 -2
- data/lib/starter_web/_data/builder/blog_navigator.yml +3 -2
- data/lib/starter_web/_data/builder/defaults/blog_navigator.yml +8 -8
- data/lib/starter_web/_data/j1_config.yml +0 -116
- data/lib/starter_web/_data/layouts/default.yml +21 -21
- data/lib/starter_web/_data/layouts/home.ads.yml +262 -0
- data/lib/starter_web/_data/layouts/home.no-ads.yml +262 -0
- data/lib/starter_web/_data/layouts/home.yml +24 -0
- data/lib/starter_web/_data/layouts/page.yml +7 -18
- data/lib/starter_web/_data/layouts/post.yml +0 -11
- data/lib/starter_web/_data/modules/advertising.yml +139 -12
- data/lib/starter_web/_data/modules/analytics.yml +99 -0
- data/lib/starter_web/_data/modules/attics.yml +3 -2
- data/lib/starter_web/_data/modules/comments.yml +55 -0
- data/lib/starter_web/_data/modules/cookieconsent.yml +2 -1
- data/lib/starter_web/_data/modules/cookies.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/advertising.yml +105 -0
- data/lib/starter_web/_data/modules/defaults/analytics.yml +93 -0
- data/lib/starter_web/_data/modules/defaults/attics.yml +3 -2
- data/lib/starter_web/_data/modules/defaults/authentication.yml +51 -48
- data/lib/starter_web/_data/modules/defaults/comments.yml +114 -0
- data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +3 -3
- data/lib/starter_web/_data/modules/defaults/cookies.yml +105 -26
- data/lib/starter_web/_data/modules/defaults/fab.yml +4 -2
- data/lib/starter_web/_data/modules/defaults/framer.yml +2 -3
- data/lib/starter_web/_data/modules/defaults/log4javascript.yml +3 -2
- data/lib/starter_web/_data/modules/defaults/log4r.yml +2 -2
- data/lib/starter_web/_data/modules/defaults/navigator.yml +4 -2
- data/lib/starter_web/_data/modules/defaults/quicksearch.yml +4 -3
- data/lib/starter_web/_data/modules/defaults/rtable.yml +3 -2
- data/lib/starter_web/_data/modules/defaults/scoller.yml +3 -2
- data/lib/starter_web/_data/modules/defaults/themer.yml +119 -118
- data/lib/starter_web/_data/modules/defaults/toccer.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/translator.yml +1 -1
- data/lib/starter_web/_data/modules/fab.yml +3 -2
- data/lib/starter_web/_data/modules/framer.yml +3 -4
- data/lib/starter_web/_data/modules/log4r.yml +2 -2
- data/lib/starter_web/_data/modules/navigator.yml +4 -2
- data/lib/starter_web/_data/modules/quicksearch.yml +3 -3
- data/lib/starter_web/_data/modules/rtable.yml +3 -3
- data/lib/starter_web/_data/modules/scroller.yml +2 -3
- data/lib/starter_web/_data/modules/themer.yml +2 -3
- data/lib/starter_web/_data/modules/toccer.yml +3 -3
- data/lib/starter_web/_data/modules/translator.yml +1 -1
- data/lib/starter_web/_data/plugins/defaults/paginator.yml +2 -2
- data/lib/starter_web/_data/plugins/paginator.yml +2 -2
- data/lib/starter_web/_data/resources.yml +447 -290
- data/lib/starter_web/_includes/attributes.asciidoc +1 -1
- data/lib/starter_web/_includes/themes/j1/modules/ads/google_ad_content_home.html +11 -0
- data/lib/starter_web/_includes/themes/j1/modules/ads/google_ad_top_home.html +11 -0
- data/lib/starter_web/_plugins/lunr_index.rb +1 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1.adoc.erb +1 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.adoc +1 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.ads.asciidoc +196 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.comments.asciidoc +182 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-02-01-site-generators.adoc +1 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-03-03-about-j1.adoc +1 -1
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-wiki-series.adoc +1 -1
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-wiki-series.adoc +1 -1
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-wiki-series.adoc +1 -1
- data/lib/starter_web/index.html +0 -4
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +0 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +0 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +0 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +0 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +0 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +0 -1
- data/lib/starter_web/pages/public/blog/navigator/archive.html +0 -1
- data/lib/starter_web/pages/public/blog/navigator/index.html +0 -1
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +4 -3
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.ads.asciidoc +265 -0
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.base.asciidoc +237 -0
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.comments.asciidoc +237 -0
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +62 -0
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/google-ad.js +130 -0
- data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +0 -1
- data/lib/starter_web/pages/public/legal/en/200_impress.adoc +0 -1
- data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +0 -1
- data/lib/starter_web/pages/public/manuals/dropdown-help.adoc +23 -2
- data/lib/starter_web/pages/public/previewer/preview_bootstrap_theme.adoc +100 -166
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +25 -70
- data/_includes/themes/j1/blocks/ads/ad.html +0 -64
- data/_includes/themes/j1/modules/boards/news_pin_board.html +0 -183
- data/_includes/themes/j1/modules/connectors/ad/custom-provider.html +0 -30
- data/_includes/themes/j1/modules/connectors/ad/google-adsense.html +0 -62
- data/_includes/themes/j1/modules/connectors/ads +0 -56
- data/_includes/themes/j1/modules/connectors/analytic/custom-provider.html +0 -32
- data/_includes/themes/j1/modules/connectors/analytic/google-analytics.html +0 -30
- data/_includes/themes/j1/modules/connectors/analytics +0 -60
- data/_includes/themes/j1/modules/connectors/comment/commento.html +0 -31
- data/_includes/themes/j1/modules/connectors/comment/custom-provider.html +0 -30
- data/_includes/themes/j1/modules/connectors/comment/disqus.html +0 -32
- data/_includes/themes/j1/modules/connectors/comment/facebook.html +0 -30
- data/_includes/themes/j1/modules/connectors/comment/hyvor.html +0 -32
- data/_includes/themes/j1/modules/connectors/comment/just-comments.html +0 -31
- data/_includes/themes/j1/modules/connectors/comments +0 -64
- data/_includes/themes/j1/modules/connectors/sharing +0 -29
- data/_includes/themes/j1/modules/connectors/survey/custom-provider.html +0 -30
- data/_includes/themes/j1/modules/connectors/survey/jotform.html +0 -32
- data/_includes/themes/j1/modules/connectors/surveys +0 -58
- data/_includes/themes/j1/modules/connectors/translator +0 -58
- data/_includes/themes/j1/modules/connectors/translators/custom-translator.html +0 -32
- data/_includes/themes/j1/modules/connectors/translators/google-translator.html +0 -53
- data/_includes/themes/j1/modules/search/algolia.html +0 -181
- data/_includes/themes/j1/modules/search/docsearch.html +0 -42
- data/assets/data/disqus.js +0 -81
- data/assets/data/hyvor.js +0 -72
- data/lib/starter_web/pages/_test_pages/100_side-bar-tester.adoc +0 -244
- data/lib/starter_web/pages/_test_pages/_includes/attributes.asciidoc +0 -110
- data/lib/starter_web/pages/_test_pages/_includes/documents/100_gistblock.asciidoc +0 -28
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_info.asciidoc +0 -14
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_left_warning.asciidoc +0 -11
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_right_danger.asciidoc +0 -11
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_central_success.asciidoc +0 -11
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_full_height_left_info.asciidoc +0 -11
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_full_height_right_success.asciidoc +0 -11
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_table_bs_modal_examples.asciidoc +0 -47
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_top_info.asciidoc +0 -11
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_top_left_info.asciidoc +0 -11
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_top_right_success.asciidoc +0 -11
- data/lib/starter_web/pages/_test_pages/_includes/documents/419_advanced_modals_demo.asciidoc +0 -337
- data/lib/starter_web/pages/_test_pages/_includes/documents/tables/bs_modal_examples.asciidoc +0 -47
- data/lib/starter_web/pages/_test_pages/accordion-01-tester.adoc +0 -220
- data/lib/starter_web/pages/_test_pages/accordion-02-tester.adoc +0 -177
- data/lib/starter_web/pages/_test_pages/accordion-03-tester.adoc +0 -148
- data/lib/starter_web/pages/_test_pages/attribute-changes-01-tester.adoc +0 -226
- data/lib/starter_web/pages/_test_pages/backdrop-tester.adoc +0 -109
- data/lib/starter_web/pages/_test_pages/button-tester-1.adoc +0 -127
- data/lib/starter_web/pages/_test_pages/card-tester.adoc +0 -128
- data/lib/starter_web/pages/_test_pages/cookieConsent.adoc +0 -96
- data/lib/starter_web/pages/_test_pages/deepl.0.adoc +0 -258
- data/lib/starter_web/pages/_test_pages/deepl.adoc +0 -204
- data/lib/starter_web/pages/_test_pages/desandro-button.adoc +0 -171
- data/lib/starter_web/pages/_test_pages/desandro.adoc +0 -147
- data/lib/starter_web/pages/_test_pages/flipcard-1-tester.adoc +0 -308
- data/lib/starter_web/pages/_test_pages/formular-01-tester.adoc +0 -167
- data/lib/starter_web/pages/_test_pages/formular-02-tester.adoc +0 -727
- data/lib/starter_web/pages/_test_pages/google-translate-tester.0.adoc +0 -113
- data/lib/starter_web/pages/_test_pages/google-translate-tester.1.adoc +0 -231
- data/lib/starter_web/pages/_test_pages/google-translate-tester.3.adoc +0 -149
- data/lib/starter_web/pages/_test_pages/google-translate-tester.4.adoc +0 -237
- data/lib/starter_web/pages/_test_pages/infinite-scroll-tester-2.adoc +0 -183
- data/lib/starter_web/pages/_test_pages/infinite-scroll-tester-3.adoc +0 -235
- data/lib/starter_web/pages/_test_pages/infinite-scroll-tester-4.adoc +0 -222
- data/lib/starter_web/pages/_test_pages/infinite-scroll-tester-5.adoc +0 -119
- data/lib/starter_web/pages/_test_pages/infinite-scroll-tester.1.adoc +0 -236
- data/lib/starter_web/pages/_test_pages/infinite-scroll-tester.adoc +0 -225
- data/lib/starter_web/pages/_test_pages/list-group-tester.adoc +0 -265
- data/lib/starter_web/pages/_test_pages/tictok.adoc +0 -127
@@ -1,226 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: Tester
|
3
|
-
tagline: listen attribute changes
|
4
|
-
date: 2021-10-18 00:00:00 +100
|
5
|
-
description: >
|
6
|
-
A simple example to demonstrate how the attrchange handler
|
7
|
-
function is triggered when a style attribute is changed.
|
8
|
-
|
9
|
-
categories: [ Tester ]
|
10
|
-
tags: [ listen, attribute, changes ]
|
11
|
-
|
12
|
-
comments: false
|
13
|
-
fab_menu_id: default
|
14
|
-
|
15
|
-
permalink: /pages/public/learn/attr_change/
|
16
|
-
regenerate: false
|
17
|
-
|
18
|
-
resources: []
|
19
|
-
resource_options:
|
20
|
-
- attic:
|
21
|
-
padding_top: 400
|
22
|
-
padding_bottom: 50
|
23
|
-
opacity: 0.5
|
24
|
-
slides:
|
25
|
-
- url: /assets/images/pages/roundtrip/images-1920x1280-bw.jpg
|
26
|
-
alt: Photo by Ricardo Gomez Angel on Unsplash
|
27
|
-
badge:
|
28
|
-
type: unsplash
|
29
|
-
author: Ricardo Gomez Angel
|
30
|
-
href: https://unsplash.com/@ripato/portfolio
|
31
|
-
---
|
32
|
-
|
33
|
-
// Page Initializer
|
34
|
-
// =============================================================================
|
35
|
-
// Enable the Liquid Preprocessor
|
36
|
-
:page-liquid:
|
37
|
-
|
38
|
-
// Set (local) page attributes here
|
39
|
-
// -----------------------------------------------------------------------------
|
40
|
-
// :page--attr: <attr-value>
|
41
|
-
|
42
|
-
// Load Liquid procedures
|
43
|
-
// -----------------------------------------------------------------------------
|
44
|
-
{% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
|
45
|
-
|
46
|
-
// Load page attributes
|
47
|
-
// -----------------------------------------------------------------------------
|
48
|
-
{% include {{load_attributes}} scope="none" %}
|
49
|
-
|
50
|
-
// Page content
|
51
|
-
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
52
|
-
// https://github.com/meetselva/attrchange
|
53
|
-
// http://meetselva.github.io/
|
54
|
-
// https://codepen.io/meetselva/pen/EVaLmP
|
55
|
-
|
56
|
-
// Include sub-documents (if any)
|
57
|
-
// -----------------------------------------------------------------------------
|
58
|
-
== Tester
|
59
|
-
|
60
|
-
.Usage
|
61
|
-
[source, js]
|
62
|
-
----
|
63
|
-
$([selector]).attrchange({
|
64
|
-
trackValues: true,
|
65
|
-
callback: function (event) {
|
66
|
-
//event.attributeName - Attribute Name
|
67
|
-
//event.oldValue - Prev Value
|
68
|
-
//event.newValue - New Value
|
69
|
-
console.log("attr changed: " +event.newValue);
|
70
|
-
}
|
71
|
-
});
|
72
|
-
----
|
73
|
-
|
74
|
-
++++
|
75
|
-
<section class="row ml-0">
|
76
|
-
|
77
|
-
<p>
|
78
|
-
A simple example to demonstrate how the attrchange handler
|
79
|
-
function is triggered when a style attribute is changed.
|
80
|
-
Click the buttons below to move the blue box left/right 10px.
|
81
|
-
</p>
|
82
|
-
|
83
|
-
<div>
|
84
|
-
<h3 class="notoc">Demonstration Highlights</h3>
|
85
|
-
<ul>
|
86
|
-
<li>Uses the supported browser specific method to detect attribute changes.</li>
|
87
|
-
<li>Does not use polling to detect an attribute change</li>
|
88
|
-
<li>Detected DOM change: <span id="attrchange-demo-attrchange-method"></span> </li>
|
89
|
-
</ul>
|
90
|
-
</div>
|
91
|
-
|
92
|
-
<div class="container mb-3">
|
93
|
-
|
94
|
-
<div id="attrchange-demobox">
|
95
|
-
<div id="attrchange-buttons">
|
96
|
-
<div class="attrchange-demo-liner">Live Demo <span class="demo-value-name">( Event Count: <span id="attrchange-demo-event-count" class="demo-value">0</span> )</span></div>
|
97
|
-
<button class="attrchange-demo-button left"><<</button>
|
98
|
-
<button class="attrchange-demo-button right">>></button>
|
99
|
-
</div>
|
100
|
-
<div id="attrchange-demo" class="attrchange-demo">
|
101
|
-
Click the buttons above to move this box left/right '10px'
|
102
|
-
</div>
|
103
|
-
</div>
|
104
|
-
|
105
|
-
<div id="attrchange-demo-logger">
|
106
|
-
<div class="attrchange-demo-liner">Logs</div>
|
107
|
-
<div id="attrchange-demo-logs"></div>
|
108
|
-
</div>
|
109
|
-
|
110
|
-
</div>
|
111
|
-
</section>
|
112
|
-
++++
|
113
|
-
|
114
|
-
++++
|
115
|
-
<script>
|
116
|
-
$(function () {
|
117
|
-
var eventCount = 0; //event counter
|
118
|
-
var $attrchange_logger = $('#attrchange-demo-logs'); //cached logger
|
119
|
-
|
120
|
-
$('.attrchange-demo').attrchange({
|
121
|
-
trackValues: true, // enables tracking old and new values
|
122
|
-
callback: function (e) { //callback handler on DOM changes
|
123
|
-
// log the events in the panel
|
124
|
-
var $logs = $attrchange_logger.prepend('<p>Attribute <b>' + e.attributeName +
|
125
|
-
'</b> changed from <b>' + e.oldValue +
|
126
|
-
'</b> to <b>' + e.newValue +
|
127
|
-
'</b></p>')
|
128
|
-
.find('p');
|
129
|
-
|
130
|
-
//remove old logs, lets just keep the last 5 events
|
131
|
-
$logs.filter(':gt(4)').remove();
|
132
|
-
// highlight the last log in #333 and rest in #999
|
133
|
-
$logs.css('color', '#777').first().css('color', '#333');
|
134
|
-
//show the method used for detecting DOM changes
|
135
|
-
$("#attrchange-demo-attrchange-method").text($(this).attrchange("getProperties")["method"]);
|
136
|
-
//show the event count
|
137
|
-
$('#attrchange-demo-event-count').text(++eventCount);
|
138
|
-
}
|
139
|
-
});
|
140
|
-
|
141
|
-
$('.attrchange-demo-button').on('click', function () {
|
142
|
-
$('#attrchange-demo').css('left', ($(this).hasClass('left') ? "-=10px" : "+=10px"));
|
143
|
-
});
|
144
|
-
|
145
|
-
});
|
146
|
-
</script>
|
147
|
-
++++
|
148
|
-
|
149
|
-
++++
|
150
|
-
<style>
|
151
|
-
#attrchange-demobox {
|
152
|
-
height: 230px;
|
153
|
-
float: left;
|
154
|
-
width: 33%;
|
155
|
-
background-color: #f2f2f2;
|
156
|
-
position: relative;
|
157
|
-
}
|
158
|
-
|
159
|
-
#attrchange-buttons {
|
160
|
-
margin: 0;
|
161
|
-
padding: 0;
|
162
|
-
}
|
163
|
-
|
164
|
-
.attrchange-demo-button {
|
165
|
-
margin: 0 5px;
|
166
|
-
}
|
167
|
-
|
168
|
-
#attrchange-demo {
|
169
|
-
width: 200px;
|
170
|
-
height: 40px;
|
171
|
-
overflow: hidden;
|
172
|
-
padding: 10px;
|
173
|
-
border: 1px solid #d2d2d2;
|
174
|
-
background-color: #C2D9EC;
|
175
|
-
font-size: 0.9em;
|
176
|
-
position: absolute;
|
177
|
-
top: 95px;
|
178
|
-
left: 5px;
|
179
|
-
}
|
180
|
-
|
181
|
-
#attrchange-demo-logger {
|
182
|
-
height: 230px;
|
183
|
-
float: left;
|
184
|
-
width: 33%;
|
185
|
-
background-color: #f2f2f2;
|
186
|
-
overflow: auto;
|
187
|
-
}
|
188
|
-
|
189
|
-
#attrchange-demo-logs p {
|
190
|
-
padding-left: 10px;
|
191
|
-
}
|
192
|
-
|
193
|
-
.attrchange-demo-liner {
|
194
|
-
margin: 0 0 15px;
|
195
|
-
font-weight: bold;
|
196
|
-
background-color: #d2d2d2;
|
197
|
-
padding: 5px;
|
198
|
-
}
|
199
|
-
|
200
|
-
.attrchange-demo-liner span {
|
201
|
-
font-weight: normal;
|
202
|
-
font-size: 0.9em;
|
203
|
-
}
|
204
|
-
|
205
|
-
.attrchange-demo-liner span.demo-value {
|
206
|
-
color: #7E0136;
|
207
|
-
}
|
208
|
-
|
209
|
-
#attrchange-demo-highlight {
|
210
|
-
float: left;
|
211
|
-
width: 33%;
|
212
|
-
background-color: #d2d2d2;
|
213
|
-
height: 230px;
|
214
|
-
}
|
215
|
-
|
216
|
-
#attrchange-demo-highlight ul li {
|
217
|
-
margin-top: 10px;
|
218
|
-
}
|
219
|
-
|
220
|
-
#attrchange-demo-attrchange-method {
|
221
|
-
color: #7E0136;
|
222
|
-
font-weight: bold;
|
223
|
-
}
|
224
|
-
|
225
|
-
</style>
|
226
|
-
++++
|
@@ -1,109 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: Tester
|
3
|
-
tagline: backdrop
|
4
|
-
date: 2020-11-03 00:00:00 +100
|
5
|
-
description: >
|
6
|
-
Welcome to the preview page focussing on the image module. This page
|
7
|
-
shows some valuable features of the J1 Template to manage your image-based
|
8
|
-
content using lightboxes, carousels (slider), and galleries.
|
9
|
-
|
10
|
-
categories: [ Testpages ]
|
11
|
-
tags: [ Example ]
|
12
|
-
|
13
|
-
comments: false
|
14
|
-
fab_menu_id: page_ctrl_simple
|
15
|
-
|
16
|
-
permalink: /pages/public/learn/bd_tester/
|
17
|
-
regenerate: false
|
18
|
-
|
19
|
-
resources: [
|
20
|
-
clipboard, rouge, carousel, lightbox,
|
21
|
-
justifiedGallery, lightGallery
|
22
|
-
]
|
23
|
-
resource_options:
|
24
|
-
- attic:
|
25
|
-
padding_top: 400
|
26
|
-
padding_bottom: 50
|
27
|
-
opacity: 0.5
|
28
|
-
slides:
|
29
|
-
- url: /assets/images/pages/roundtrip/images-1920x1280-bw.jpg
|
30
|
-
alt: Photo by Ricardo Gomez Angel on Unsplash
|
31
|
-
badge:
|
32
|
-
type: unsplash
|
33
|
-
author: Ricardo Gomez Angel
|
34
|
-
href: https://unsplash.com/@ripato/portfolio
|
35
|
-
---
|
36
|
-
|
37
|
-
// Page Initializer
|
38
|
-
// =============================================================================
|
39
|
-
// Enable the Liquid Preprocessor
|
40
|
-
:page-liquid:
|
41
|
-
|
42
|
-
// Set (local) page attributes here
|
43
|
-
// -----------------------------------------------------------------------------
|
44
|
-
// :page--attr: <attr-value>
|
45
|
-
:images-dir: {imagesdir}/pages/roundtrip/100_present_images
|
46
|
-
|
47
|
-
// Load Liquid procedures
|
48
|
-
// -----------------------------------------------------------------------------
|
49
|
-
{% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
|
50
|
-
|
51
|
-
// Load page attributes
|
52
|
-
// -----------------------------------------------------------------------------
|
53
|
-
{% include {{load_attributes}} scope="global" %}
|
54
|
-
|
55
|
-
// Page content
|
56
|
-
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
57
|
-
|
58
|
-
// Include sub-documents (if any)
|
59
|
-
// -----------------------------------------------------------------------------
|
60
|
-
|
61
|
-
++++
|
62
|
-
<div class="row mt-3 mr-3 mb-5 ml-3">
|
63
|
-
<!-- Heading -->
|
64
|
-
<div class="row">
|
65
|
-
<div class="animated fadeInUp">
|
66
|
-
<h2 class="g-font-weight-500 mb-0">Jekyll One Template</h2>
|
67
|
-
<p class="tagline mb-0"><b>powerful modern static websites</b></p>
|
68
|
-
<div class="d-inline-block g-width-50 g-height-2 bg-primary mb-2"></div>
|
69
|
-
</div>
|
70
|
-
</div>
|
71
|
-
<!-- End Heading -->
|
72
|
-
<!-- Body -->
|
73
|
-
<div class="row animated fadeInUp">
|
74
|
-
<div class="mr-3 mb-3">
|
75
|
-
<p class="dropcap">
|
76
|
-
Jekyll One Template is the first toolbox to create modern webs and a learning platform to experience what is behind current Internet Technologies for the World Wide Web. J1 provides creative people with both: a rich toolset to build websites and the knowledge needed to learn what's all about.
|
77
|
-
</p>
|
78
|
-
<p> J1 meets Jekyll and Bootstrap and makes a lot of friends. The template system combines the best free software for the Web. Jekyll One Template is OpenSource and the modules included are free to use as well. No license issues for private or professional use.</p>
|
79
|
-
<p> Explore what's possible if you go for static websites.</p>
|
80
|
-
</div>
|
81
|
-
<!-- Footer|Button row -->
|
82
|
-
<div class="mt-1 text-center">
|
83
|
-
<a href="/pages/public/learn/roundtrip/present_images/" class="btn btn-xl btn-primary text-uppercase text-left mr-2 mb-2" style="min-width: 250px">
|
84
|
-
<i class="mdi mdi-briefcase-search-outline mdi-3x mdi- mr-3"></i>
|
85
|
-
<span class="float-right text-left mt-2">
|
86
|
-
Roundtrip
|
87
|
-
<span class="d-block r-text-200 text-lowercase">learn top features</span>
|
88
|
-
</span>
|
89
|
-
</a>
|
90
|
-
<a href="https://rubygems.org/gems/j1-template" target="blank" rel="noopener" class="btn btn-xl btn-primary text-uppercase text-left mr-2 mb-2" style="min-width: 250px">
|
91
|
-
<i class="mdi mdi-briefcase-download-outline mdi-3x mdi- mr-3"></i>
|
92
|
-
<span class="float-right text-left mt-2">
|
93
|
-
Download
|
94
|
-
<span class="d-block r-text-200 text-lowercase">get on rubygems</span>
|
95
|
-
</span>
|
96
|
-
</a>
|
97
|
-
<a href="https://jekyll.one/pages/public/learn/quickstart/" target="blank" rel="noopener" class="btn btn-xl btn-primary text-uppercase text-left mr-2 mb-2" style="min-width: 250px">
|
98
|
-
<i class="mdi mdi-briefcase-check-outline mdi-3x mdi- mr-3"></i>
|
99
|
-
<span class="float-right text-left mt-2">
|
100
|
-
Quickstart
|
101
|
-
<span class="d-block r-text-200 text-lowercase">finished in 15 minutes</span>
|
102
|
-
</span>
|
103
|
-
</a>
|
104
|
-
</div>
|
105
|
-
</div>
|
106
|
-
<!-- END Body -->
|
107
|
-
<!-- End Card -->
|
108
|
-
</div>
|
109
|
-
++++
|
@@ -1,127 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: Tester
|
3
|
-
tagline: button
|
4
|
-
date: 2020-11-03 00:00:00 +100
|
5
|
-
description: >
|
6
|
-
Welcome to the preview page focussing on the image module. This page
|
7
|
-
shows some valuable features of the J1 Template to manage your image-based
|
8
|
-
content using lightboxes, carousels (slider), and galleries.
|
9
|
-
|
10
|
-
categories: [ Testpages ]
|
11
|
-
tags: [ Example ]
|
12
|
-
|
13
|
-
comments: false
|
14
|
-
fab_menu_id: page_ctrl_simple
|
15
|
-
|
16
|
-
permalink: /pages/public/learn/button_tester/
|
17
|
-
regenerate: false
|
18
|
-
|
19
|
-
resources: [
|
20
|
-
clipboard, rouge, carousel, lightbox,
|
21
|
-
justifiedGallery, lightGallery
|
22
|
-
]
|
23
|
-
resource_options:
|
24
|
-
- attic:
|
25
|
-
padding_top: 400
|
26
|
-
padding_bottom: 50
|
27
|
-
opacity: 0.5
|
28
|
-
slides:
|
29
|
-
- url: /assets/images/pages/roundtrip/images-1920x1280-bw.jpg
|
30
|
-
alt: Photo by Ricardo Gomez Angel on Unsplash
|
31
|
-
badge:
|
32
|
-
type: unsplash
|
33
|
-
author: Ricardo Gomez Angel
|
34
|
-
href: https://unsplash.com/@ripato/portfolio
|
35
|
-
---
|
36
|
-
|
37
|
-
// Page Initializer
|
38
|
-
// =============================================================================
|
39
|
-
// Enable the Liquid Preprocessor
|
40
|
-
:page-liquid:
|
41
|
-
|
42
|
-
// Set (local) page attributes here
|
43
|
-
// -----------------------------------------------------------------------------
|
44
|
-
// :page--attr: <attr-value>
|
45
|
-
:images-dir: {imagesdir}/pages/roundtrip/100_present_images
|
46
|
-
|
47
|
-
// Load Liquid procedures
|
48
|
-
// -----------------------------------------------------------------------------
|
49
|
-
{% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
|
50
|
-
|
51
|
-
// Load page attributes
|
52
|
-
// -----------------------------------------------------------------------------
|
53
|
-
{% include {{load_attributes}} scope="all" %}
|
54
|
-
|
55
|
-
// Page content
|
56
|
-
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
57
|
-
|
58
|
-
// Include sub-documents (if any)
|
59
|
-
// -----------------------------------------------------------------------------
|
60
|
-
|
61
|
-
++++
|
62
|
-
<div>
|
63
|
-
|
64
|
-
<a href="#void" class="btn btn-xl btn-primary text-uppercase mr-2 mb-2">
|
65
|
-
<i class="mdi mdi-language-ruby mdi-3x mr-2"></i>
|
66
|
-
<span class="float-right text-left mt-2">Let's Use this Button
|
67
|
-
<span class="d-block r-text-200">30 days free for all users</span>
|
68
|
-
</span>
|
69
|
-
</a>
|
70
|
-
|
71
|
-
<a href="#void" class="btn btn-xl btn-primary text-uppercase mr-2 mb-2">
|
72
|
-
<i class="mdi mdi-language-ruby mdi-3x mr-2"></i>
|
73
|
-
<span class="float-right text-left mt-2">Let's Use this Button
|
74
|
-
<span class="d-block r-text-200">30 days free for all users</span>
|
75
|
-
</span>
|
76
|
-
</a>
|
77
|
-
|
78
|
-
</div>
|
79
|
-
|
80
|
-
<style>
|
81
|
-
|
82
|
-
/*
|
83
|
-
.btn-xl {
|
84
|
-
line-height: 1.4;
|
85
|
-
padding: 0.92857rem 1.85714rem;
|
86
|
-
font-size: 1.28571rem;
|
87
|
-
}
|
88
|
-
|
89
|
-
.u-btn-content {
|
90
|
-
white-space: normal;
|
91
|
-
}
|
92
|
-
|
93
|
-
.g-font-weight-600 {
|
94
|
-
font-weight: 600 !important;
|
95
|
-
}
|
96
|
-
|
97
|
-
.g-letter-spacing-0_5 {
|
98
|
-
letter-spacing: 0.03571rem;
|
99
|
-
}
|
100
|
-
|
101
|
-
.g-brd-2 {
|
102
|
-
border-width: 2px !important;
|
103
|
-
}
|
104
|
-
|
105
|
-
.g-mr-10 {
|
106
|
-
margin-right: 0.71429rem !important;
|
107
|
-
}
|
108
|
-
|
109
|
-
.g-mb-15 {
|
110
|
-
margin-bottom: 1.07143rem !important;
|
111
|
-
}
|
112
|
-
|
113
|
-
.g-font-size-11 {
|
114
|
-
font-size: 0.78571rem !important;
|
115
|
-
}
|
116
|
-
|
117
|
-
.g-font-size-42 {
|
118
|
-
font-size: 3rem !important;
|
119
|
-
}
|
120
|
-
|
121
|
-
.pull-left {
|
122
|
-
float: left;
|
123
|
-
}
|
124
|
-
*/
|
125
|
-
|
126
|
-
</style>
|
127
|
-
++++
|
@@ -1,128 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: Tester
|
3
|
-
tagline: button
|
4
|
-
date: 2020-11-03 00:00:00 +100
|
5
|
-
description: >
|
6
|
-
Welcome to the preview page focussing on the image module. This page
|
7
|
-
shows some valuable features of the J1 Template to manage your image-based
|
8
|
-
content using lightboxes, carousels (slider), and galleries.
|
9
|
-
|
10
|
-
categories: [ Testpages ]
|
11
|
-
tags: [ Example ]
|
12
|
-
|
13
|
-
comments: false
|
14
|
-
fab_menu_id: page_ctrl_simple
|
15
|
-
|
16
|
-
permalink: /pages/public/learn/card_tester/
|
17
|
-
regenerate: false
|
18
|
-
|
19
|
-
resources: [
|
20
|
-
clipboard, rouge, carousel, lightbox,
|
21
|
-
justifiedGallery, lightGallery
|
22
|
-
]
|
23
|
-
resource_options:
|
24
|
-
- attic:
|
25
|
-
padding_top: 400
|
26
|
-
padding_bottom: 50
|
27
|
-
opacity: 0.5
|
28
|
-
slides:
|
29
|
-
- url: /assets/images/pages/roundtrip/images-1920x1280-bw.jpg
|
30
|
-
alt: Photo by Ricardo Gomez Angel on Unsplash
|
31
|
-
badge:
|
32
|
-
type: unsplash
|
33
|
-
author: Ricardo Gomez Angel
|
34
|
-
href: https://unsplash.com/@ripato/portfolio
|
35
|
-
---
|
36
|
-
|
37
|
-
// Page Initializer
|
38
|
-
// =============================================================================
|
39
|
-
// Enable the Liquid Preprocessor
|
40
|
-
:page-liquid:
|
41
|
-
|
42
|
-
// Set (local) page attributes here
|
43
|
-
// -----------------------------------------------------------------------------
|
44
|
-
// :page--attr: <attr-value>
|
45
|
-
:images-dir: {imagesdir}/pages/roundtrip/100_present_images
|
46
|
-
|
47
|
-
// Load Liquid procedures
|
48
|
-
// -----------------------------------------------------------------------------
|
49
|
-
{% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
|
50
|
-
|
51
|
-
// Load page attributes
|
52
|
-
// -----------------------------------------------------------------------------
|
53
|
-
{% include {{load_attributes}} scope="all" %}
|
54
|
-
|
55
|
-
// Page content
|
56
|
-
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
57
|
-
|
58
|
-
// Include sub-documents (if any)
|
59
|
-
// -----------------------------------------------------------------------------
|
60
|
-
|
61
|
-
++++
|
62
|
-
<div>
|
63
|
-
|
64
|
-
<article class="card raised-z3 mb-5">
|
65
|
-
<h3 id="35983" class="card-header bg-primary">Welcome</h3>
|
66
|
-
<!-- h5 class="notoc card-subtitle text-muted mb-2">jekyll for everyone</h5 -->
|
67
|
-
|
68
|
-
<div class="row mx-0">
|
69
|
-
|
70
|
-
<div class="col-md-6 img-bg--fill px-0"
|
71
|
-
style="border-right: 1px dotted rgba(0, 0, 0, 0.25); background-image: url(/assets/images/modules/attics/katie-moum-1920x1280.jpg);">
|
72
|
-
</div>
|
73
|
-
|
74
|
-
<!-- div class="col-md-6 px-0">
|
75
|
-
<img class="img__object--cover" src="/assets/images/modules/attics/katie-moum-1920x1280.jpg" alt="Welcome">
|
76
|
-
</div -->
|
77
|
-
|
78
|
-
<div class="col-md-6 p-0">
|
79
|
-
<div class="card-body r-text-300">All you’re doing at the end of the day is writing your content, and the J1 Template does all the tricky things: putting out HTML, Javascript, and CSS. As a result, the site creation process gets out of your way. Sounds fun, isn’t it? ...</div>
|
80
|
-
<div class="card-footer r-text-200">
|
81
|
-
|
82
|
-
<div class="card-footer-text">
|
83
|
-
<i class="mdi mdi-calendar-blank mdi-md-grey mr-1"></i> 2021 March, 28
|
84
|
-
</div>
|
85
|
-
<a class="card-link text-muted text-lowercase" href="/posts/public/featured/2021/03/28/welcome-to-j1/#readmore">
|
86
|
-
Read · jekyll for everyone
|
87
|
-
</a>
|
88
|
-
</div>
|
89
|
-
</div>
|
90
|
-
|
91
|
-
</div>
|
92
|
-
|
93
|
-
</article>
|
94
|
-
|
95
|
-
|
96
|
-
<article class="card raised-z5 mb-5">
|
97
|
-
<h3 id="35983" class="card-header bg-primary">Welcome</h3>
|
98
|
-
<!-- h5 class="notoc card-subtitle text-muted mb-2">jekyll for everyone</h5 -->
|
99
|
-
<div class="card-body r-text-300">All you’re doing at the end of the day is writing your content, and the J1 Template does all the tricky things: putting out HTML, Javascript, and CSS. As a result, the site creation process gets out of your way. Sounds fun, isn’t it? ...</div>
|
100
|
-
<div class="card-footer r-text-200">
|
101
|
-
<div class="card-footer-text">
|
102
|
-
<i class="mdi mdi-calendar-blank mr-1"></i> 2021 March, 28
|
103
|
-
</div>
|
104
|
-
<a class="card-link md-grey-800 font-weight-bold g-font-size-12 text-uppercase" href="/posts/public/featured/2021/03/28/welcome-to-j1/#readmore">
|
105
|
-
Read · jekyll for everyone
|
106
|
-
</a>
|
107
|
-
</div>
|
108
|
-
</article>
|
109
|
-
|
110
|
-
</div>
|
111
|
-
|
112
|
-
<style>
|
113
|
-
|
114
|
-
|
115
|
-
.g-bg-img-hero {
|
116
|
-
background-size: cover;
|
117
|
-
background-repeat: no-repeat;
|
118
|
-
background-position: center;
|
119
|
-
}
|
120
|
-
|
121
|
-
.g-px-0 {
|
122
|
-
padding-left: 0 !important;
|
123
|
-
padding-right: 0 !important;
|
124
|
-
}
|
125
|
-
|
126
|
-
</style>
|
127
|
-
|
128
|
-
++++
|
@@ -1,96 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: J1
|
3
|
-
tagline: Cookie Consent
|
4
|
-
date: 2021-06-24 00:00:00 +100
|
5
|
-
description: >
|
6
|
-
Bootstrap Cookie Consent Module
|
7
|
-
for J1 Template
|
8
|
-
|
9
|
-
categories: [ Testpages ]
|
10
|
-
tags: [ Example ]
|
11
|
-
|
12
|
-
scrollbar: false
|
13
|
-
fab_menu_id: default
|
14
|
-
|
15
|
-
advertising: false
|
16
|
-
comments: false
|
17
|
-
|
18
|
-
permalink: /pages/public/cookieConsent/
|
19
|
-
regenerate: true
|
20
|
-
|
21
|
-
resources: [ bsCookieConsent ]
|
22
|
-
resource_options:
|
23
|
-
- attic:
|
24
|
-
padding_top: 400
|
25
|
-
padding_bottom: 50
|
26
|
-
opacity: 0.5
|
27
|
-
slides:
|
28
|
-
- url: /assets/images/modules/attics/cookies-1920x1200.jpg
|
29
|
-
---
|
30
|
-
|
31
|
-
// Page Initializer
|
32
|
-
// =============================================================================
|
33
|
-
// Enable the Liquid Preprocessor
|
34
|
-
:page-liquid:
|
35
|
-
|
36
|
-
// Set (local) page attributes here
|
37
|
-
// -----------------------------------------------------------------------------
|
38
|
-
// :page--attr: <attr-value>
|
39
|
-
:badges-enabled: false
|
40
|
-
|
41
|
-
// Load Liquid procedures
|
42
|
-
// -----------------------------------------------------------------------------
|
43
|
-
{% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
|
44
|
-
|
45
|
-
// Load page attributes
|
46
|
-
// -----------------------------------------------------------------------------
|
47
|
-
{% include {{load_attributes}} scope="global" %}
|
48
|
-
|
49
|
-
|
50
|
-
// Page content
|
51
|
-
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
52
|
-
|
53
|
-
++++
|
54
|
-
<div class="container">
|
55
|
-
<h2>Usage</h2>
|
56
|
-
<p>Initialize the cookie consent framework with the constructor</p>
|
57
|
-
<p><code>var cookieSettings = new BootstrapCookieConsent()</code></p>
|
58
|
-
<h3>Show the Dialog</h3>
|
59
|
-
<p>
|
60
|
-
On a new visit the dialog is shown automatically. For reconfiguration
|
61
|
-
show the Dialog again with <code>cookieSettings.showDialog()</code>.
|
62
|
-
</p>
|
63
|
-
<p>
|
64
|
-
<a href="javascript:showSettingsDialog()" class="btn btn-primary">Cookie Settings</a>
|
65
|
-
</p>
|
66
|
-
<h2>Read the settings</h2>
|
67
|
-
<p>Read all cookie settings with <code>cookieSettings.getSettings()</code></p>
|
68
|
-
<div class="card mb-4">
|
69
|
-
<div class="card-body">
|
70
|
-
<pre class="mb-0" id="settingsOutput"></pre>
|
71
|
-
</div>
|
72
|
-
</div>
|
73
|
-
<p>Read a specific cookie setting with <code>cookieSettings.getSettings('analyses')</code></p>
|
74
|
-
<div class="card">
|
75
|
-
<div class="card-body">
|
76
|
-
<pre class="mb-0" id="settingsAnalysisOutput"></pre>
|
77
|
-
</div>
|
78
|
-
</div>
|
79
|
-
</div>
|
80
|
-
|
81
|
-
<script>
|
82
|
-
|
83
|
-
function showSettingsDialog() {
|
84
|
-
j1.cookieConsent.showDialog();
|
85
|
-
}
|
86
|
-
|
87
|
-
var dependencies_met_cookie_consent_ready = setInterval (function (options) {
|
88
|
-
if ( typeof j1.cookieConsent !== 'undefined' ) {
|
89
|
-
$("#settingsOutput").text(JSON.stringify(j1.cookieConsent.getSettings()))
|
90
|
-
$("#settingsAnalysisOutput").text(j1.cookieConsent.getSettings('analyses'))
|
91
|
-
clearInterval(dependencies_met_cookie_consent_ready);
|
92
|
-
}
|
93
|
-
});
|
94
|
-
|
95
|
-
</script>
|
96
|
-
++++
|