PageSourceSearch

https://www.surprisegranite.com/migrated/6456ce4476abb25581fbad0c%…ad3bfc564547a%2Fbold_navbar_effect-2.0.0.js

js surprisegranite.com collected 2026-10-07 01:30:09 UTC 919 bytes, 2 lines download raw bytes

1/* Bold Navbar Effect v2.0 */
2(function(){const navbar=document.querySelector('.navbar-fixed_wrapper');if(!navbar)return;navbar.style.transition='all 250ms cubic-bezier(0.34,1.56,0.64,1)';let ticking=false;function handleScroll(){const scrollY=window.scrollY;if(!ticking){window.requestAnimationFrame(()=>{if(scrollY>50){navbar.style.transform='translateY(0) scale(1)';navbar.style.backgroundColor='rgba(255,255,255,0.98)';navbar.style.boxShadow='0 4px 20px rgba(0,0,0,0.15)';navbar.style.backdropFilter='blur(12px)';navbar.style.paddingTop='12px';navbar.style.paddingBottom='12px'}else{navbar.style.transform='translateY(0) scale(1)';navbar.style.backgroundColor='transparent';navbar.style.boxShadow='none';navbar.style.backdropFilter='none';navbar.style.paddingTop='24px';navbar.style.paddingBottom='24px'}ticking=false});ticking=true}}window.addEventListener('scroll',handleScroll,{passive:true});handleScroll()})();

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.