PageSourceSearch

https://mseikan-allure.com/common/js/to-top.js

js mseikan-allure.com collected 2026-10-07 04:29:24 UTC 755 bytes, 25 lines download raw bytes

1$(function(){
2	//ƒ{ƒ^ƒ“[id:page-top]‚ðoŒ»‚³‚¹‚éƒXƒNƒ[ƒ‹ƒCƒxƒ“ƒg
3	$(window).scroll(function(){
4		//Åã•”‚©‚猻ÝˆÊ’u‚܂ł̋——£‚ðŽæ“¾‚µ‚āA•ϐ”[now]‚ÉŠi”[
5		var now = $(window).scrollTop();
6
7		//Å‰º•”‚©‚猻ÝˆÊ’u‚܂ł̋——£‚ðŒvŽZ‚µ‚āA•ϐ”[under]‚ÉŠi”[
8		var under = $('body').height() - (now + $(window).height());
9 
10		//Åã•”‚©‚猻ÝˆÊ’u‚܂ł̋——£(now)‚ª100ˆÈã‚¾‚Á‚½‚ç
11		if(now > 100){
12			//[#page-top]‚ð‚ä‚Á‚­‚èƒtƒF[ƒhƒCƒ“‚·‚é
13			$('#page-top').fadeIn('slow');
14		//‚»‚êˆÈŠO‚¾‚Á‚½‚çƒtƒF[ƒhƒAƒEƒg‚·‚é
15		}else{
16			$('#page-top').fadeOut('slow');
17		}
18	});
19 
20	//ƒ{ƒ^ƒ“(id:move-page-top)‚̃NƒŠƒbƒNƒCƒxƒ“ƒg
21	$('#move-page-top').click(function(){
22		//ƒy[ƒWƒgƒbƒv‚ÖˆÚ“®‚·‚é
23		$('html,body').animate({scrollTop:0},'slow');
24	});
25});

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.