PageSourceSearch

https://kato-eye.jp/common/js/dimensions.js

js kato-eye.jp collected 2026-10-05 11:16:10 UTC 864 bytes, 27 lines download raw bytes

1var name = "#side_contents";
2var menuYloc = null;
3$(document).ready(function(){
4	menuYloc = parseInt($(name).css("top").substring(0,$(name).css("top").indexOf("px")))
5	$(window).scroll(function () { 
6		offset = menuYloc+$(document).scrollTop()+"px";
7
8		if( parseInt(menuYloc+$(document).scrollTop()) > 300 ){
9				offset = parseInt(menuYloc+$(document).scrollTop()) - 300;
10				$(name).animate({top:offset},{duration:500,queue:false});
11		}
12
13		if( parseInt($(document).scrollTop()) == 0){
14			$(name).animate({top:0},{duration:500,queue:false});
15		}
16
17	});
18});
19
20//var menuYloc = null;
21//$(document).ready(function(){
22//	menuYloc = parseInt($(name).css("top").substring(0,$(name).css("top").indexOf("px")))
23//	$(window).scroll(function () { 
24//		offset = menuYloc+$(document).scrollTop()+"px";
25//		$(name).animate({top:offset},{duration:500,queue:false});
26//	});
27//}); 

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.