PageSourceSearch

https://sportpasheerlen.nl/content/themes/movenl/assets/js/scroll-DzPjViXH.js

js sportpasheerlen.nl collected 2026-10-02 00:23:33 UTC 799 bytes, 1 lines download raw bytes

1/* Make sure an anchor scroll will take the nav height in count */const header=document.querySelector(".js-header");const anchorLinks=document.querySelectorAll("a[href^='#']");const headerHeight=header?header.offsetHeight:0;anchorLinks.forEach(anchor=>{anchor.addEventListener("click",function(e){e.preventDefault();const targetId=this.getAttribute("href").substring(1);const targetElement=document.getElementById(targetId);if(targetElement){const elementPosition=targetElement.getBoundingClientRect().top+window.scrollY;const extraOffset=10;const wpAdminBarHeight=document.getElementById("wpadminbar")?document.getElementById("wpadminbar").offsetHeight:0;const offsetPosition=elementPosition-headerHeight-extraOffset-wpAdminBarHeight;window.scrollTo({top:offsetPosition,behavior:"smooth"});}});});

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.