PageSourceSearch

https://www.zenkeijikyo.or.jp/nirin/shop/shop_wp/wp-content/themes…/library/js/scroll-animation.js?ver=1.0.0

js zenkeijikyo.or.jp collected 2026-10-02 03:21:28 UTC 963 bytes, 27 lines download raw bytes

1jQuery(function($) {
2    'use-strict';
3    $('.scroll .swipe, .scroll i').css("opacity","0");
4    $(window).on('scroll', function (){
5        $(".scroll").each(function(){
6            var imgPos = $(this).offset().top;
7            var scroll = $(window).scrollTop();
8            var windowHeight = $(window).height();
9            if (scroll > imgPos - windowHeight + windowHeight/3 &&  scroll < imgPos - windowHeight + windowHeight/1.5  ){
10                $("i, .swipe",this).css({
11                    "opacity": "0.5",
12                    "transition": ".8s"
13                });
14                $("i",this).css({
15                    "font-size": "100px",
16                    "padding": "20px"
17                });
18            } else {
19                $("i, .swipe",this).css("opacity","0" );
20                $("i",this).css({
21                    "font-size": "100px",
22                    "padding": "20px"
23                });
24            }
25        });
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.