PageSourceSearch

https://carvaganza.com/web/model-page/js/scroll-to-element.js?v=1776340925

js carvaganza.com collected 2026-09-24 22:13:15 UTC 491 bytes, 1 lines download raw bytes

1var getOffsetTop2=e=>{let t=0;for(;e;)t+=e.offsetTop,e=e.offsetParent;return t};function scrollToElement(e,t){t.preventDefault();let n=document.querySelector(t.target.hash);let o=getOffsetTop2(n)-e;window.scrollTo(0,o)}document.addEventListener("DOMContentLoaded",(function(){if(menuItems=document.querySelectorAll(".content-table li a"),menuItems.length)for(i=0;i<menuItems.length;i++)menuItems[i].addEventListener("click",(function(e){this.getAttribute("href");scrollToElement(68,e)}))}));

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.