PageSourceSearch

https://www.lieblings-zahnarzt.de/berlin-schoeneberg/wp-content/th…/lzmulti-24/child_assets/js/footerScroll.js

js lieblings-zahnarzt.de collected 2026-10-08 22:58:47 UTC 1,047 bytes, 33 lines download raw bytes

1
2/*
3var width = jQuery(window).width();
4
5if(width < 750) {
6    const stickyBtns = document.querySelector('#footerButton');
7    let delta = 80;
8    let lastScrollTop = 0;
9    const hasScrolled = () => {
10        const scrollTop = window.scrollY;
11        if (Math.abs(lastScrollTop - scrollTop) <= delta) {
12            return;
13        }
14        if (scrollTop > lastScrollTop) {
15            // Scroll down action
16            if (!stickyBtns.classList.contains('scroll-down')) {
17                stickyBtns.classList.add('scroll-down');
18                stickyBtns.classList.remove('scroll-up');
19            }
20        } else if (scrollTop < lastScrollTop) {
21            // Scroll up action
22            if (!stickyBtns.classList.contains('scroll-up')) {
23                if (scrollTop < 100) {
24                    stickyBtns.classList.remove('scroll-down');
25                    stickyBtns.classList.add('scroll-up');
26                }
27            }
28        }
29        lastScrollTop = scrollTop;
30    }
31
32    window.addEventListener('scroll', hasScrolled);
33}*/

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.