Autoscroll to Section

Description

#1. Install Code

#1.1. Use code to Page Header Injection (page where you want to apply effect). Or Code Injection > Header, if you want to make effect on all pages.

<!-- 10.26c05v5 Autoscroll to Section -->
<script>
window.AutoScrollConfig = {
  trigger: 'top', // top or section
  sectionSelector: 'section[id*="autoscroll"]',
  pageSectionSelector: 'section.page-section',
  delay: 3000
};
</script>
<script src="https://code.beaverhero.com/other/1026c05v5autoscrollsection.js"></script>

10.26c05v5 Autoscroll to Section

#1.2. You can change 3000 = 3 seconds (line 07)

delay: 3000

 

 

Buy me a coffee