PageSourceSearch

https://www.kolaxoccs.com/theme/website/assets/js/scrollSection.js

js kolaxoccs.com collected 2026-10-04 05:24:52 UTC 619 bytes, 18 lines download raw bytes

1window.addEventListener('load', () => {
2document.querySelectorAll('.scroll__btn').forEach(button => {
3    button.addEventListener('click', function() {
4        const sections = document.querySelectorAll('section');
5        
6        const currentButton = this;
7        let currentSection = currentButton.closest('section');
8        
9        if (currentSection) {
10            const nextSection = currentSection.nextElementSibling;
11
12            if (nextSection && nextSection.tagName.toLowerCase() === 'section') {
13                nextSection.scrollIntoView({ behavior: 'smooth' });
14            }
15        }
16    });
17});
18});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.