PageSourceSearch

https://ibaa.ca/client_assets/js/ib-tabs.js

js ibaa.ca collected 2026-10-04 13:28:57 UTC 590 bytes, 22 lines download raw bytes

1// Tab Box
2
3const tabBtns = document.querySelectorAll(".ib-tabBtn");
4const tabBoxes = document.querySelectorAll(".ib-tabBox");
5
6tabBtns.forEach((button) => {
7  button.addEventListener("click", () => {
8    removeActiveClasses();
9    button.classList.add("active");
10    var tab = button.getAttribute("data-tab");
11    document.getElementById(tab).classList.add("active");
12  });
13});
14
15function removeActiveClasses() {
16  tabBoxes.forEach((remove) => {
17    remove.classList.remove("active");
18  });
19  tabBtns.forEach((remove) => {
20    remove.classList.remove("active");
21  });
22}

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.