PageSourceSearch

https://mparchitects.com/assets/js/about.js

js mparchitects.com collected 2026-10-02 12:23:25 UTC 922 bytes, 30 lines download raw bytes

1// console.log("WORKING")
2// const logo = document.getElementById("logo");
3
4// let logoBounds = logo.getBoundingClientRect();
5
6let accordionBtns = document.querySelectorAll('.accordion-btn');
7let accordionTargets = document.querySelectorAll('.accordion-result');
8
9for (let btn of accordionBtns){
10    btn.addEventListener("click", function(){
11       for (target of accordionTargets){
12        target.classList.remove('visible');
13       }
14       document.querySelector(btn.getAttribute('data-toggle')).classList.toggle("visible");
15    })
16}
17
18
19
20
21// const b = document.body;
22// document.addEventListener("scroll", function(){
23//     let amtScrolled = (Math.max(window.pageYOffset, document.documentElement.scrollTop))
24//         // hide the nav when scrolled a lot
25//         if (amtScrolled > 160){
26//             b.classList.add("scrolled")
27//         } else {
28//             b.classList.remove("scrolled")
29//         } 
30// })

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.