PageSourceSearch

https://rodsgenerator.com/sites/generacdealers.com/pages/js/tabs.js

js rodsgenerator.com collected 2026-10-09 22:57:31 UTC 554 bytes, 18 lines download raw bytes

1(function () {
2  const tabs = document.querySelectorAll('[data-tab-target]');
3  const tabContents = document.querySelectorAll('[data-tab-content]');
4
5  tabs.forEach(tab => {
6    tab.addEventListener('click', () => {
7      const target = document.querySelector(tab.dataset.tabTarget);
8      tabContents.forEach(tabContent => {
9        tabContent.classList.remove('active');
10      });
11      tabs.forEach(tab => {
12        tab.classList.remove('active');
13      });
14      tab.classList.add('active');
15      target.classList.add('active');
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.