PageSourceSearch

https://www.keikan-koutsu.jp/js/scrollfade.js

js keikan-koutsu.jp collected 2026-10-02 19:39:31 UTC 439 bytes, 16 lines download raw bytes

1
2/* スクロールに応じて要素をフェードイン
3----------------------- */
4$(function(){
5	$(window).on("load scroll resize", function(){
6		var windowHeight = $(window).height(),
7		topWindow = $(window).scrollTop();
8		$('.anim').each(function(){
9			var targetPosition = $(this).offset().top;
10			if(topWindow > targetPosition - windowHeight + 10){
11				$(this).addClass("hook");
12				$(this).removeClass('anim');
13			}
14		});
15	});
16});

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.