PageSourceSearch

https://itp.or.kr/user/js/common.js

js itp.or.kr collected 2026-10-04 19:14:11 UTC 2,702 bytes, 107 lines download raw bytes

1/*
2$(function(){
3	var mainBdLi = $('.main_bd > ul > li');
4	mainBdLi.mouseover(function(){
5		var $this = $(this);
6		mainBdLi.removeClass('on');
7		mainBdLi.find('> ol').hide();
8		$this.addClass('on');
9		$this.find('> ol').show();
10	});
11
12	var tabLi = $('.tab1 > ul > li');
13	mainBdLi.mouseover(function(){
14		var $this = $(this);
15		mainBdLi.removeClass('on');
16		mainBdLi.find('> ol').hide();
17		$this.addClass('on');
18		$this.find('> ol').show();
19	});
20	$('.main_bd > ul > li:eq(0) > a').trigger('mouseover');
21
22	$('.fam_area .in ul').bxSlider({
23		autoDelay:500,
24		minSlides: 1,
25		maxSlides: 7,
26		moveSlides: 1,
27		pager:false
28	});
29
30
31}); //function
32*/
33
34
35
36//gnb
37$(function(){
38	$(document).ready(function(){
39		$('.gnb nav div').hide();
40		$('.gnb nav a').removeClass('on');
41		//$('html').css('overflow-x','auto');
42		
43		$('.gnb nav').on({
44				mouseenter:function(){
45					if($(window).width() > 1024){ 
46						$(this).addClass('on');
47						$('.gnb nav').append('<div class="nav_bg"><span class="span01"></span></div>');
48						$('.gnb nav').append('<div class="nav_bg"><span class="span02"></span></div>');
49						$('.gnb div').show();
50						$('html').css('overflow-x','hidden');
51						 
52					}
53				}
54		});
55		$('.gnb nav > ul > li > div').each(function(i, e){
56			$(e).mouseenter(function(){
57				$(this).prev().addClass('on');
58				$(this).parent().siblings().children('a').removeClass('on');
59			});
60			$(e).prev().mouseleave(function(){
61				$(this).removeClass('on');
62			});
63		});
64
65
66
67		$('.gnb nav').mouseleave(function(){
68			$('.gnb nav div').hide();
69			$('.gnb nav a').removeClass('on');
70			$('html').css('overflow-x','auto');
71		});
72
73	});
74});
75
76
77
78
79/*	var mainImgExt = ".gif"; //1dept 이미지 확장자
80	
81		$(".gnb > nav > ul > li")
82		.mouseenter( function() {
83			var imgNm = $(this).find("img").attr("src").split(mainImgExt)[0]
84			$(this).find("img").attr("src", imgNm + "_on" + mainImgExt);
85			
86			$(".gnb > nav > ul > li").find('span').stop().animate({'opacity':1}, 300);
87			$(".gnb_layer").slideDown(300);
88		})
89		.mouseleave( function() {
90			var imgNm = $(this).find("img").attr("src").split("_on")[0];
91			$(this).find("img").attr("src", imgNm + mainImgExt);
92		});
93
94		$(".gnb_layer")
95		.mouseleave( function() {
96			$(".gnb > nav > ul > li").find('span').stop().animate({'opacity':0}, 100);
97			$(".gnb_layer").stop(true, true).slideUp(300);
98		});*/
99
100
101
102function fn_webtoon_go(val)
103{
104	var windowHeight=document.all?document.body.clientHeight:window.sub_menuHeight;
105	var height = windowHeight - 90;
106	window.open("/info/webtoon_view.php?no=" +val, "webtoon_01", "width=720,height="+height+",scrollbars=1,top=90");
107}

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.