1document.addEventListener('DOMContentLoaded', function() { 2 const avantagesSection = document.querySelector('.avantages'); 3 const container = avantagesSection.querySelector('.container'); 4 5 function checkScroll() { 6 const rect = avantagesSection.getBoundingClientRect(); 7 const windowHeight = window.innerHeight || document.documentElement.clientHeight; 8 9 if (rect.top <= windowHeight * 0.3 && rect.bottom >= 0) { 10 container.classList.add('active-scroll'); 11 } else { 12 container.classList.remove('active-scroll'); 13 } 14 } 15 16 window.addEventListener('scroll', checkScroll); 17 checkScroll(); 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.