diff --git a/application/views/mobile_first/gh-pc.php b/application/views/mobile_first/gh-pc.php index 69673bc7..829a598d 100644 --- a/application/views/mobile_first/gh-pc.php +++ b/application/views/mobile_first/gh-pc.php @@ -207,6 +207,7 @@ height="0" width="0" style="display:none;visibility:hidden">
+ global highlights' wechat code
Scan and add us on WhatsApp: +86 15807734776
@@ -393,6 +394,15 @@ document.addEventListener('DOMContentLoaded', () => { disableMobile: true, minDate: "today" }); + + + var scrollToButton = document.getElementById('scrollToButton'); + var scrollAnchor = document.getElementById('scrollAnchor'); + scrollToButton.addEventListener('click', () => { + if (scrollAnchor !== null) { + scrollAnchor.scrollIntoView({behavior: "smooth"}); + } + }); }); diff --git a/application/views/mobile_first/gh.php b/application/views/mobile_first/gh.php index 5ba1f1a1..ed34368e 100644 --- a/application/views/mobile_first/gh.php +++ b/application/views/mobile_first/gh.php @@ -172,6 +172,7 @@ aria-label="festival">
+ global highlights' wechat code
Scan and add us on WhatsApp: +86 15807734776
@@ -343,6 +344,14 @@ document.addEventListener('DOMContentLoaded', () => { disableMobile: true, minDate: "today" }); + +var scrollToButton = document.getElementById('scrollToButton'); +var scrollAnchor = document.getElementById('scrollAnchor'); +scrollToButton.addEventListener('click', () => { + if (scrollAnchor !== null) { + scrollAnchor.scrollIntoView({behavior: "smooth"}); + } +}); });