1export function initTabMenu() { 2 console.log("ã¿ãåæåéå§"); // ãããã³ã³ã½ã¼ã«ã«åºããç¢ºèª 3 const containers = document.querySelectorAll('.ncTab'); 4 5 containers.forEach((container, cIndex) => { 6 const buttons = container.querySelectorAll('.ncTab_button > *'); 7 console.log(`ã³ã³ãã${cIndex}: ãã¿ã³æ° ${buttons.length}`); 8 9 buttons.forEach((btn, index) => { 10 btn.addEventListener('click', () => { 11 console.log(`${index}çªç®ã®ãã¿ã³ãæ¼ããã¾ãã`); // åºãªããªããããåå 12 13 // ã¯ã©ã¹ã®ä»ãæ¿ã 14 buttons.forEach(b => b.classList.remove('active')); 15 btn.classList.add('active'); 16 17 const contents = container.querySelectorAll('.ncTab_content > *'); 18 contents.forEach(c => c.classList.remove('active')); 19 if (contents[index]) { 20 contents[index].classList.add('active'); 21 } 22 }); 23 }); 24 }); 25}
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.