PageSourceSearch

https://e-donghak.or.kr/archive/jscss/banner.js?ver=1790974886

js e-donghak.or.kr collected 2026-10-02 21:05:42 UTC 2,229 bytes, 102 lines download raw bytes

1jQuery(function($) {
2	
3	/* 상단 배너 */
4	function topBannerOpen(){
5		$('.topbanner').animate({height: 108}, 300);
6		$('.topBb .tobanner').removeClass('topon');
7		$('.topBb .tobanner').text('상단팝업닫기');
8		
9	}
10	
11	function topBannerClose(){
12		$('.topbanner').animate({height: 0}, 300);
13		$('.topBb .tobanner').addClass('topon');
14		$('.topBb .tobanner').text('상단팝업열기');
15	}
16	
17	$('.topbanner .closebtn').click(function(){	
18		ch = $('#closet').attr('checked');
19		if(ch == 'checked'){
20			var todayDate = new Date();
21			todayDate.setDate( todayDate.getDate() + 1 );
22			document.cookie = "topbanner=" + escape( 'done' ) + "; path=/; expires=" + todayDate.toGMTString() + ";"
23		}
24		
25		topBannerClose();
26		
27	});
28	
29	var swiper = new Swiper('.swiper-container.topbannerw', {
30		slidesPerView : 1,
31		loop : true,
32		loopFillGroupWithBlank : true,
33		pagination : {
34			el : '.swiper-pagination',
35			clickable : true,
36		},
37	});
38	
39	
40	
41	/* 메인 텍스트 배너 */
42	$('#maintext').slick({
43		dots: true,
44		infinite: true, 
45		arrows:false,
46		autoplay:true,
47		autoplaySpeed: 8000
48	});
49	
50	
51	
52	/* 배경 이미지 배너 */
53	$('.Mainbg').on('init', function(event, slick){
54		$(this).addClass("ani");
55	}).slick({
56		
57		infinite: true,			
58		speed: 1000,
59		dots: true,
60		arrows: true,
61		autoplay: true,
62		autoplaySpeed: 6000,
63		fade: true,
64		pauseOnHover: false,
65		pauseOnFocus: false,
66 		cssEase: 'cubic-bezier(0.7, 0, 0.3, 1)',
67		
68		customPaging : function(slider, i) {
69    		var title = $(slider.$slides[i]).data('title');
70    		return '<button><em>'+title+'</em></button>';
71		},
72		responsive: [{
73			 breakpoint: 768,
74			 settings: {
75					customPaging : function(slider, i) {
76					var num = i+1;
77					return '<button><em>0'+num+'</em></button>';
78		     	}
79			}
80 		}]
81	});
82	
83	
84	
85	/* D-day 배너 */
86	$('#DDay').slick({
87		infinite: true,
88		  slidesToShow: 1,
89		  slidesToScroll: 1,
90		  vertical : true,
91		  autoplay: true,
92		  autoplaySpeed: 3000,
93		  arrows : false
94	});
95	
96	$('#DDay').on('afterChange', function(event, slick, direction){
97	  $('.d-daynum .ddayc').hide();
98	  $('.d-daynum .ddayc').eq(direction).show();
99
100	});
101	
102});

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.