PageSourceSearch

https://tjs.or.jp/res/scripts/local.js

js tjs.or.jp collected 2026-09-28 12:43:25 UTC 551 bytes, 20 lines download raw bytes

1$(function(){
2	$('a[href^=#]').click(function(){
3		var speed = 500;
4		var href= $(this).attr("href");
5		var target = $(href == "#" || href == "" ? 'html' : href);
6		var position = target.offset().top;
7		$("html, body").animate({scrollTop:position}, speed, "swing");
8		return false;
9	});
10});
11
12$(function() {
13	$('.menu-open').on('click', function(){
14		if (window.matchMedia('screen and (max-width:768px)').matches) { 
15			$('.menu-trigger').toggleClass('active');
16			$('#site_title .right').animate({height: 'toggle'}, 260);
17			return false;
18		}
19	});
20});

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.