PageSourceSearch

https://hys-tennis.com/wp-content/themes/hys/js/script.js?ver=5.7.20

js hys-tennis.com collected 2026-10-08 00:29:46 UTC 2,250 bytes, 54 lines download raw bytes

1$(function() {
2    //イージングの時間
3	animation_speed1 = 350
4	animation_speed1s = 750
5	animation_speed2 = 1500
6	animation_speed3 = 3000
7	animation_speed4 = 4000
8	
9	//イージングの種類
10	easing_typeIn = 'easeInQuart'
11	easing_typeOut = 'easeOutQuart'
12	easing_typeLinear = 'linear'
13
14    //スマホグロナビのメニューアイコンのアニメーション(クラス名付与によりCSSでアニメーション設定)
15    var $animation = $('#smtgnavBtn');
16
17    $animation.on('click',function(){
18        if ($('.menuicon').hasClass('is-open')){
19            $('.menuicon').removeClass('is-open');
20        } else {
21            $('.menuicon').addClass('is-open');
22        }
23    });
24
25    //スムーズスクロール
26	$("a[href*=#]:not([href=#]):not([href^='#tab']):not([href^='#quicktab']):not([href^='#pane'])").click(function() {
27		if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
28		var target = $(this.hash);
29		target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
30			if (target.length) {
31				$('html,body').animate({
32				scrollTop: target.offset().top
33				},1000,easing_typeOut);
34				return false;
35			}
36		}
37	});
38
39    //.animation 付けた要素が画面内に現れたら、自身に クラス visible を付与
40    $('.animation').on('inview', function() {
41        // 要素がウィンドウの表示領域に現れたときに実行する処理
42        $(this).addClass('visible')
43    });
44
45});
46//GA
vendor: 335 bytes, lines 46-52
46
47(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
48(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
49m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
50})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
51
52ga('create', '
52UA-102872110-1
vendor: 12 bytes, line 52
52', 'auto');
53ga('require', 'linkid', 'linkid.js'); //拡張リンクアトリビューション:リンク先が同じである複数のリンクがページに設定されている場合、それらに関する情報を別々に参照する。精度を最大限に高めるためには、ページ上の各リンクに別々の要素 ID を割り当てる必要。
54ga('send', 'pageview');

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.