PageSourceSearch

https://goguynet.jp/wp-content/themes/goguynet/js/common.js?1760659139

js goguynet.jp collected 2026-09-24 09:02:47 UTC 2,732 bytes, 108 lines download raw bytes

1$(function(){
2
3	jQuery.easing.easeOutQuint =  function (x, t, b, c, d) {
4		return c*((t=t/d-1)*t*t*t*t + 1) + b;
5	};
6	jQuery.easing.easeOutCubic =  function (x, t, b, c, d) {
7		return c*((t=t/d-1)*t*t + 1) + b;
8	};
9	jQuery.easing.easeInOutCubic =  function (x, t, b, c, d) {
10		if ((t/=d/2) < 1) return c/2*t*t*t + b;
11		return c/2*((t-=2)*t*t + 2) + b;
12	};
13
14    //SPスライドメニュー
15    $('#header-sp-btn, #header-sp-link-close, #header-sp-link-overlay, .to-sidelink').on('click', function(){
16        $('#header-sp-btn').toggleClass('on');
17        $('#header-sp-link').toggleClass('show');
18        $('#header-sp-link-overlay').toggleClass('show');
19        $('body').toggleClass('body-fix');
20        return false;
21    });
22
23	//SP検索
24	$("#modal-open").click(function(){
25		$("#modal-content").addClass("is-active");
26		$("#modal-close").addClass("is-active");
27	});
28	$("#modal-close").click(function() {
29		$("#modal-content").removeClass("is-active");
30		$(this).removeClass("is-active");
31	});
32	if (location.search != "?print") {
33		$(window).scroll(function () {
34			var st = $(document).scrollTop();
35			if (st >= 80 ) {
36				$("#modal-content").css('top', '30px');
37			}else{
38				$("#modal-content").css('top', '17%');
39			}
40		});
41	}
42
43  // 地域メニューSP時メニュー処理
44	$('.top-act').on('click', function(e){
45    e.preventDefault();
46    e.stopPropagation();
47
48    $(this).next('.nextlink').slideToggle('fast');
49
50    return false;
51	});
52	// 地域メニュー親メニュー処理
53	$('.act').on('click', function(e){
54    e.preventDefault();
55    e.stopPropagation();
56    console.log('クリック');
57
58    $(this).next('ul').slideToggle('fast');
59
60    return false;
61	});
62	// 地域メニュー子メニュー処理
63	$('.area-label').click(function(e) {
64    e.stopPropagation();
65    e.preventDefault();
66
67		$(this).next('ul').slideToggle('fast');
68	});
69	/* ページ内スクロール */
70  $('a[href^="#"]').click(function(){
71	//$("a[href^=#]").click(function(){
72		var Hash = $(this.hash);
73		var HashOffset = $(Hash).offset().top;
74		$("html,body").animate({
75			scrollTop: HashOffset
76		}, 800, 'easeInOutCubic');
77		return false;
78	});
79    $("#to-search").click(function(){
80		var Hash = $(this.hash);
81		var HashOffset = $(Hash).offset().top - 20;
82		$("html,body").animate({
83			scrollTop: HashOffset
84		}, 800, 'linear');
85		return false;
86	});
87
88	//スクロール
89	$pageTop = $(".pagetop");
90	$pageTop.hide();
91	if (location.search != "?print") {
92		$(window).scroll(function () {
93			var st = $(document).scrollTop();
94			if (st >= 100 ) {
95				$pageTop.fadeIn();
96			}else{
97				$pageTop.fadeOut();
98			}
99		});
100		$pageTop.click(function () {
101			$('html,body').animate({ scrollTop: 0 }, 1000, 'easeOutExpo');
102			return false;
103		});
104	}
105
106});
107
108

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.