PageSourceSearch

https://fantastock.co.kr/js/ap_common.js?ver=2026-09-2420:05:56

js fantastock.co.kr collected 2026-09-24 11:06:33 UTC 4,748 bytes, 187 lines download raw bytes

1$(document).ready(function(){
2	$(".menuOpen").click(function(){
3            $("#ap_header").addClass("on")
4    })
5
6	$(".menuClose").click(function(){
7            $("#ap_header").removeClass("on")
8    })
9
10    $(".menuBG").click(function(){
11        $("#ap_header").removeClass("active")
12    })
13
14
15    $("#ap_gnb > .menu2 > ol > li > a").click(function(){
16		if ($(window).width() < 1025){
17			$("#ap_gnb > .menu2 > ol > li > ul:not(:animated)").slideUp();
18			$(this).next("ul:not(:animated)").slideToggle();
19
20			return false;
21		}
22    })
23
24	$(window).scroll(function(){
25		if($(window).scrollTop() > $(".h_notice, #tnb").height()){
26			$(".header_top_wrap, #hd_wrapper").addClass("scroll_on")
27		} else {
28			$(".header_top_wrap, #hd_wrapper").removeClass("scroll_on")
29		}
30	})
31
32    $("#ap_footer .go_top, .go_up").click(function(){
33        $("html, body").animate({scrollTop:0},400);
34    })
35
36	/*var scrollHeight = $(document).height(); 
37    $(".go_down").click(function(){
38        $("html, body").animate({scrollTop:scrollHeight},400);
39    })*/
40	
41	$(".go_down").click(function fnMove(seq){
42        var offset = $("#bo_v_bottom").offset();
43        $('html, body').animate({scrollTop : offset.top}, 400);
44    })
45	
46
47    $("#mInformation .tab_btn li:first").addClass("on")
48    $("#mInformation .tab_content > div:first").addClass("on")
49    $("#mInformation .tab_btn li").hover(function(){
50			$("#mInformation .tab_btn li").removeClass("on")
51			$(this).addClass("on")
52
53			$("#mInformation .tab_content > div").removeClass("on")
54			$("#mInformation .tab_content > div:eq("+ $(this).index() +")").addClass("on")
55    })
56	
57	$(".menuClose").click(function(){
58		setCookie("menuToggle", "close", 1)
59	})
60	$(".menuOpen").click(function(){
61		setCookie("menuToggle", "open", 1)
62	})
63})
64
65var setCookie = function(name, value, exp) {
66	var date = new Date();
67	date.setTime(date.getTime() + exp*24*60*60*1000);
68	document.cookie = name + '=' + value + ';expires=' + date.toUTCString() + ';path=/';
69};
70var getCookie = function(name) {
71	var value = document.cookie.match('(^|;) ?' + name + '=([^;]*)(;|$)');
72	return value? value[2] : null;
73};
74var deleteCookie = function(name) {
75	document.cookie = name + '=; expires=Thu, 01 Jan 1999 00:00:10 GMT;';
76}
77
78$(document).ready(function () { 
79	var page_url = window.location.href; 
80	var page_id = page_url.substring(page_url.lastIndexOf("#") + 1); // alert(page_id); 
81	if (page_id == 'section1') { 
82		$('html, body').animate({ 
83			scrollTop: $('#scroll-' + page_id).offset().top-230
84		}, 500); 
85	} 
86});
87
88$(document).ready(function () { 
89	// 문자알림
90	// For more information, see greensock.com/docs/v3/Plugins/ScrollTrigger
91	gsap.registerPlugin(ScrollTrigger);
92
93	// You can use a ScrollTrigger in a tween or timeline
94	/*gsap.to(".b", {
95	  x: -150,
96	  duration: 2,
97	  rotation: 0,
98	  scrollTrigger: {
99		trigger: ".b",
100		start: "top center",
101		end: "top 500px",
102		scrub: true,
103		markers: true,
104		id: "scrub"
105	  }
106	});*/
107
108	const anim01 = gsap.to(".vp07_03a", {
109	  x: 200,
110	  rotation: 0,
111	  duration: 3
112	});
113
114	ScrollTrigger.create({
115	  trigger: ".vp07_03a",
116	  animation: anim01,
117	  // Uncomment these to see how they affect the ScrollTrigger
118	  // markers: true,
119	   start: "top center",
120	   end: "center center",
121	   toggleClass: "active",
122	   //pin: true,
123	   scrub: 1,
124	   //onUpdate: self => {
125		 //console.log("progress:", self.progress.toFixed(3), "direction:", self.direction, "velocity", self.getVelocity());
126	  // }
127	});
128
129	const anim02 = gsap.to(".vp07_03b", {
130	  x: -200,
131	  rotation: 0,
132	  duration: 3
133	});
134
135	ScrollTrigger.create({
136	  trigger: ".vp07_03b",
137	  animation: anim02,
138	  // Uncomment these to see how they affect the ScrollTrigger
139	  // markers: true,
140	   start: "top 700px",
141	   end: "top 700px",
142	   toggleClass: "active",
143	   //pin: true,
144	   scrub: 1,
145	   //onUpdate: self => {
146		 //console.log("progress:", self.progress.toFixed(3), "direction:", self.direction, "velocity", self.getVelocity());
147	  // }
148	});
149
150	const anim03 = gsap.to(".vp07_03c", {
151	  x: 150,
152	  rotation: 0,
153	  duration: 3
154	});
155
156	ScrollTrigger.create({
157	  trigger: ".vp07_03c",
158	  animation: anim03,
159	  // Uncomment these to see how they affect the ScrollTrigger
160	  // markers: true,
161	   start: "top 800px",
162	   end: "top 800px",
163	   toggleClass: "active",
164	   //pin: true,
165	   scrub: 1,
166	   //onUpdate: self => {
167		 //console.log("progress:", self.progress.toFixed(3), "direction:", self.direction, "velocity", self.getVelocity());
168	  // }
169	});
170
171});
172
173
174
175
176
177$(document).ready(function () {
178	$('#vip_btn_01, #vip_btn_02, #bottom_slide01, #bottom_slide02, #bottom_slide03').click(function () {
179		$('#bottom_container').slideToggle('slow', function () {
180
181		});
182	 });
183	 $('.vp17_close').click(function() {
184		$('#bottom_container').hide();
185	});
186});
187

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.