PageSourceSearch

https://ssoaeng.co.kr/_dj/js/scroll-transition-fade.js

js ssoaeng.co.kr collected 2026-09-26 08:25:54 UTC 1,029 bytes, 31 lines download raw bytes

1var swiper = null;(function($){$.fn.isVisible = function(allowHeight){
2	var scrollTop = $(window).scrollTop();
3	var scrollEnd = scrollTop + $(window).height();
4	var thisTop = $(this).offset().top;
5	var thisEnd = thisTop + $(this).height();
6	if(!allowHeight) {
7		allowHeight=0;
8	}
9	if(allowHeight > $(this).height()) {
10		allowHeight = $(this).height() / 2;
11	}
12	var topVisible = scrollTop <= thisTop + allowHeight && scrollEnd >= thisTop + allowHeight ;
13	var bottomVisible = scrollTop <= thisEnd - allowHeight && scrollEnd >= thisEnd - allowHeight ;
14	var visibled = (topVisible && bottomVisible);
15	return visibled;
16};
17
18$(window).scroll(function(e) {
19    if( $('body')[0].scrollHeight < $(window).scrollTop()+$(window).height()-200 ) {
20        $('.scroll-fade:last').removeClass("dj-viewport");
21        return false;
22    }
23	$('.dj-viewport').each(function(){
24        try {
25            if( $(this).isVisible(200) ) {
26                $(this).removeClass("dj-viewport");
27            }
28        } finally {}
29	});
30}).scroll();
31})(jQuery);

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.