PageSourceSearch

https://iilo.ca/wp-content/themes/iilo/js/accordion.js?ver=20201009

js iilo.ca collected 2026-10-06 13:13:47 UTC 594 bytes, 18 lines download raw bytes

1var acc = document.getElementsByClassName("accordion");
2var i;
3
4for (i = 0; i < acc.length; i++) {
5    acc[i].addEventListener("click", function() {
6        /* Toggle between adding and removing the "active" class,
7        to highlight the button that controls the panel */
8        this.classList.toggle("active");
9
10        /* Toggle between hiding and showing the active panel */
11        var panel = this.nextElementSibling;
12        if (panel.style.display === "block") {
13            panel.style.display = "none";
14        } else {
15            panel.style.display = "block";
16        }
17    });
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.