PageSourceSearch

https://billingssymphony.org/wp-content/themes/bb-theme-child/js/custom.js?time=1790289041

js billingssymphony.org collected 2026-09-24 23:08:20 UTC 1,478 bytes, 49 lines download raw bytes

1// document.addEventListener("DOMContentLoaded", function () {
2//     let navLogo = document.querySelector('.navbar-brand');
3//     let nav = document.querySelector('.navbar');
4
5//     if (!nav || !navLogo) return;
6
7//     if (window.location.pathname === "/" || window.location.pathname === "/index.php") {
8//         if (window.innerWidth < 640) { 
9//             navLogo.classList.add("short-nav");
10//         } else { 
11//             window.addEventListener("scroll", toggleScrollLogo, false);
12//         }
13//     }
14
15//     function toggleScrollLogo() {
16//         let scrollPosition = window.pageYOffset;
17//         if (scrollPosition > 90) {
18//             nav.classList.add("active");
19//         } else {
20//             nav.classList.remove("active");
21//         }
22//     }
23// });
24
25// const nav = document.querySelector('.navbar');
26
27// function onScroll() {
28//   if (!nav) return;
29//   const scrolled = window.scrollY || window.pageYOffset;
30//   if (scrolled > 90) {
31//     nav.classList.add('scrolled');
32//   } else {
33//     nav.classList.remove('scrolled');
34//   }
35// }
36// onScroll();
37// window.addEventListener('scroll', onScroll, { passive: true });
38
39
40jQuery(document.body).scroll(function() {
41        var scroll = jQuery(document.body).scrollTop();
42
43        if (scroll >= 90) {
44            //alert();
45            header.addClass("sticky");
46        } else {
47            header.removeClass('sticky');
48        }
49    });

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.