PageSourceSearch

https://www.suidou-setubi.com/blog/wp-content/themes/works/js/responsive.js

js suidou-setubi.com collected 2026-10-05 11:15:52 UTC 1,564 bytes, 62 lines download raw bytes

1jQuery.noConflict();
2
3jQuery(function() {
4  // 1即時関数の引数にjQueryを与える(仮引数は「$」)
5  (function($) {
6	//---------------------------------------
7	//  SPナビ(950px以下)
8	//---------------------------------------
9	var menuBtn = ".menuBtn";
10	var gnav = "#global-nav";
11
12	var state = false;
13	var scrollpos;
14	//var menuBtnLabel = $(menuBtn).find("span").text();
15	
16	$(menuBtn).click(function(){
17		$("body").addClass("fixed");
18		$("html, body").css("overflow", "hidden");
19
20		if(state == false) {
21			//scrollpos = $(window).scrollTop();
22			//$("body").toggleClass("fixed").css({'top': -scrollpos});
23			
24			//$(this).find("span").text("CLOSE");
25			state = true;
26		} else {
27			//$('body').removeClass('fixed').css({'top': 0});
28			//window.scrollTo( 0 , scrollpos );
29
30			//$(this).toggleClass("close");
31			//$(this).delay(1000).queue(function() {
32			//    $(this).removeClass('close').dequeue();
33			//});
34
35			//$(this).find("span").text(menuBtnLabel);
36			state = false;
37		}
38
39		$(gnav).toggleClass("open");
40		//$(this).toggleClass("open");
41	});
42
43	$("global-nav a, global-nav li").click(function(e){
44		e.stopPropagation();
45	});
46
47	$(".btn_close").click(function(){
48		$(gnav).removeClass("open");
49		$("html, body").css("overflow", "initial");
50		$("html, body").removeAttr("style");
51		$("body").removeClass("fixed");
52	});
53	
54	////subMenu展開
55	//$(".gnav .hasChild").click(function(e){
56	//	if($(this).find(".subMenu").css("position") == "relative") {
57	//		//e.stopPropagation();
58	//		$(this).toggleClass("open");
59	//	}
60	//});
61	})(jQuery);
62});

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.