PageSourceSearch

https://www.kanagawa-cci.or.jp/common/js/common.js

js kanagawa-cci.or.jp collected 2026-10-08 05:51:47 UTC 1,047 bytes, 64 lines download raw bytes

1//
2
3//ページスクロール
4$(function(){
5	$("a[href^=#]").click(function(){
6		var Hash = $(this.hash);
7		var HashOffset = $(Hash).offset().top;
8		$("html,body").animate({
9			scrollTop: HashOffset
10		}, 800);
11		return false;
12	});
13});
14
15
16
17
18
19//文字サイズ
20
21$(function(){
22	var fsize = $.cookie('fontsize');
23	if (fsize != undefined)
24	{
25		$('body').removeClass('small middle large');
26
27		$('body').addClass(fsize);
28
29		$('.font_size li').removeClass("current");
30		
31		if (fsize == 'small')
32		{
33			$('.small').addClass('current');
34		}
35		else if (fsize == 'middle')
36		{
37			$('.middle').addClass('current')
38		}
39		else
40		{
41			$('.large').addClass('current')
42		}
43	}
44	
45	$(".font_size li").click(function()
46	{
47		$(".font_size li").removeClass("current");
48		
49		var fontCss = $(this).attr("class");
50		
51		$(this).addClass("current");
52		
53		$("body").removeClass("small middle large");
54		$("body").addClass(fontCss);
55		
56		$.cookie('fontsize', fontCss, {expires: 365, path: '/'});	
57	});
58	
59	
60});
61
62
63
64

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.