PageSourceSearch

https://www.city-yanai.jp/ssi/js/site-yanai-gurashi2025.js

js city-yanai.jp collected 2026-10-02 07:33:04 UTC 1,157 bytes, 43 lines download raw bytes

1jQuery(document).ready(function($){
2	if($('.site_index')[0]){
3		// トップページ
4	}else{
5		// トップページ以外
6	}
7
8	// 全ページ共通ここから
9
10	// メニューボタン(展開)
11	function accMenuSite(){
12		$('#btn_header_menu').on('click',function(){
13			$('#btn_header_menu,#box_header_menu,#container').toggleClass('menu_open');
14		});
15		$('#btn_header_menu,#box_header_menu').on('click keypress',function(event){
16			event.stopPropagation();
17		});
18		$(document).on('click keypress',function(){
19			$('#btn_header_menu,#box_header_menu,#container').removeClass('menu_open');
20		});
21		// キーボード対応
22		$('#box_header_menu ul li:last-child a').on('focusout', function() {
23			$('#btn_header_menu,#box_header_menu,#container').removeClass('menu_open');
24		});
25	}
26
27	// ページトップボタンを固定
28	function accToPagetopSite(){
29		$(window).scroll(function(){
30			if ($(this).scrollTop() > 200) {
31				$('#btn_pagetop').addClass('fixed');
32			}else {
33				$('#btn_pagetop').removeClass('fixed');
34			}
35		});
36	}
37
38	// 全ページ共通ここまで
39
40	accMenuSite();
41	accToPagetopSite();
42
43});

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.