PageSourceSearch

https://crocomi.co.jp/wp-content/themes/crocomi/js/tab-table-change.js?ver=6.2.14

js crocomi.co.jp collected 2026-10-08 21:15:14 UTC 724 bytes, 30 lines download raw bytes

1jQuery(function(){
2	var w = jQuery(window).width();
3	var x = 768;
4	if ( w <= x ) {
5		jQuery("ul.tab-switch li").click(function() {
6			var num = jQuery("ul.tab-switch li").index(this);
7			jQuery("table.tab-switch td").addClass('dn');
8			jQuery('table.tab-switch td').each(function (index , elm) {
9				var surplus = num;
10				// console.log(num)
11				// console.log(index);
12				// console.log(elm);
13				if (num == 1 || num == 2) {
14					if (index > 12) {
15						surplus--;
16					}
17				} else {
18					if (index > 12) {
19						surplus += 2;
20					}
21				}
22				if(index%3 == surplus){
23					this.classList.remove('dn');
24				}
25			});
26			jQuery("ul.tab-switch li").removeClass('is-active');
27			jQuery(this).addClass('is-active')
28		});
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.