1// Change Navbar and Toggle Button 2const navbarMain = document.getElementById('navbarMain'); 3const navbarToggle = document.getElementById('navbarToggle'); 4 5navbarToggle.addEventListener('click', function() { 6 // this.classList.toggle('open'); 7 // navbarMain.classList.toggle('navbar-open'); 8}); 9 10 11// Change Navbar Layout 12window.onscroll = () => navbarScrollFunction(); 13 14function navbarScrollFunction() { 15 if (document.body.scrollTop > 50 || document.documentElement.scrollTop > 50) { 16 navbarMain.classList.add('navbar-scroll'); 17 } else { 18 navbarMain.classList.remove('navbar-scroll'); 19 } 20}
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.