PageSourceSearch

https://cloche.jp/js/scrollanime.js

js cloche.jp collected 2026-10-04 13:25:16 UTC 1,262 bytes, 30 lines download raw bytes

1// 遅延表示anime
2$('.history-main .ftview dl dt,.ftview i.line,.history-main .ftview dl dd,.ftview .pop').css('visibility','hidden');
3$(window).scroll(function(){
4 var windowHeight = $(window).height(),
5     topWindow = $(window).scrollTop();
6 $('.history-main .ftview dl dt,.ftview i.line,.history-main .ftview dl dd,.ftview .pop').each(function(i){
7  var targetPosition = $(this).offset().top;
8  if(topWindow > targetPosition - windowHeight + 20){
9   $(this).delay(200*i).queue(function() {
10            $(this).addClass('animation').dequeue();
11        });
12  }
13 });
14});
15
16
17
18$('.history-main .scview dl dt,.scview i.line,.history-main .scview dl dd,.scview .pop,.each > .storylist,.each > .his-brandarea,.each > .cont,.activity,.world-his,.historylast,.continued').css('visibility','hidden');
19$(window).scroll(function(){
20 var windowHeight = $(window).height(),
21     topWindow = $(window).scrollTop();
22 $('.history-main .scview dl dt,.scview i.line,.history-main .scview dl dd,.scview .pop,.each > .storylist,.each > .his-brandarea,.each > .cont,.activity,.world-his,.historylast,.continued').each(function(){
23  var targetPosition = $(this).offset().top;
24  if(topWindow > targetPosition - windowHeight + 100){
25   $(this).addClass("animation");
26  }
27 });
28});
29
30

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.