1$(document).ready(function(){ 2 var wWidth = $(window).innerWidth(); 3 if(wWidth < 1701 && wWidth > 768){ 4 tTooltip(); 5 }else if(wWidth < 768){ 6 }else{ 7 tooltip(); 8 } 9 if(wWidth < 1025){ 10 //mGoList(); 11 mGolayer(); 12 }else{ 13 } 14 15 //visual 16 text(); 17 visual(); 18 banner(); 19 search(); 20 accodion(); 21 moreBtn(); 22 hscroll(); 23 //goLayer 24 goLayer(); 25 26 //2021-03-18 view pageìì header ëì´ë§í¼ ë´ë ¤ì¤ê² 27$(function () { 28 $('.xref a[href^="#"]').click(function () { 29 var href = $(this).attr("href"); 30 var target = $(href == "#" || href == "" ? 'html' : href); 31 32 // PCì 모ë°ì¼ êµ¬ë¶ 33 var isPC = $(window).width() > 1024; 34 35 if (target.length) { 36 var offsetTop = target.offset().top; 37 38 if (isPC) { 39 var headerHeight = $('.scroll-wrap').height(); 40 $('html, body').stop().animate({ 41 scrollTop: offsetTop - headerHeight - 60}, 600); 42 }else{ 43 // 모ë°ì¼ììë ê³ ì ê° ëë ë¤ë¥¸ ì²ë¦¬ 44 var headerHeight = $('#header').height(); 45 $('html, body').stop().animate({ 46 scrollTop: offsetTop - 70}, 400); 47 } 48 } 49 50 return false; 51 }); 52}); 53 54 //모ë°ì¼ ìëìì¹ ë©ë´ 55 var $m_menu = $('.m_gnb'); 56 $('.m_menu_btn > a, .m_menu_bg').click(function(){ 57 $('.m_gnb_depth2').css({'display':''}); 58 $('.m_gnb > li > a > i.xi-minus-min').attr('class','xi-plus-min'); 59 if ($m_menu.is(':visible')){ 60 $('.m_gnb').slideUp(); 61 $('.m_menu_bg').hide(); 62 $('.m_menu_btn > a').find('span').fadeIn(); 63 $('.m_wrap .xi-close').hide(); 64 $('body').css('overflow','auto'); 65 } else { 66 $('.m_gnb').slideDown(); 67 $('.m_menu_bg').show(); 68 $('.m_menu_btn > a').find('span').hide(); 69 $('.m_wrap .xi-close').fadeIn(); 70 $('body').css('overflow','hidden'); 71 return false; 72 } 73 }); 74 75 //모ë°ì¼ 2ì°¨ë©ë´ 76 $('.m_gnb > li > a').click(function(){ 77 var $m_sub_menu = $(this).parent('li').find('.m_gnb_depth2'); 78 //console.log($m_sub_menu); 79 if ($m_sub_menu.is(':visible')){ 80 $(this).find('i').attr('class','xi-plus-min'); 81 $m_sub_menu.slideUp(); 82 } else { 83 $('.m_gnb_depth2').slideUp(); 84 $m_sub_menu.slideDown(); 85 $(this).find('i').attr('class','xi-minus-min'); 86 } 87 $(this).parent('li').siblings().find('i').removeClass('xi-minus-min').addClass('xi-plus-min'); 88 }); 89 90 //pc 3ëì¤ ë©ë´ 91 $('#gnb .depth3-tit > a').click(function(){ 92 var $depth3_menu = $(this).parent('li').find('.depth3'); 93 console.log($depth3_menu); 94 if ($depth3_menu.is(':visible')){ 95 $(this).find('i').attr('class','xi-angle-down-min'); 96 $depth3_menu.slideUp(); 97 } else { 98 //$('.depth3').slideUp(); 99 $depth3_menu.slideDown(); 100 $(this).find('i').attr('class','xi-angle-up-min'); 101 } 102 }); 103 104 105 //mobile 3ëì¤ ë©ë´ 106 $('.m_wrap .depth3-tit > a').click(function(){ 107 var $m_depth3_menu = $(this).parent('li').find('.depth3'); 108 console.log($m_depth3_menu); 109 if ($m_depth3_menu.is(':visible')){ 110 $(this).find('i').attr('class','xi-angle-down-min'); 111 $m_depth3_menu.slideUp(); 112 } else { 113 //$('.depth3').slideUp(); 114 $m_depth3_menu.slideDown(); 115 $(this).find('i').attr('class','xi-angle-up-min'); 116 $('.m_wrap').css('overflow-y','scroll'); 117 } 118 }); 119 120 121 //Instruction for Authors 122 $(".tab_content").hide(); //Hide all content 123 $("ul.tabs li:first").addClass("active").show(); //Activate first tab 124 $(".tab_content:first").show(); //Show first tab content 125 126 //On Click Event 127 $("ul.tabs li").click(function() { 128 129 $("ul.tabs li").removeClass("active"); //Remove any "active" class 130 $(this).addClass("active"); //Add "active" class to selected tab 131 $(".tab_content").hide(); //Hide all tab content 132 133 var activeTab = $(this).find("a").attr("href"); //Find the href attribute value to identify the active tab + content 134 $(activeTab).fadeIn(); //Fade in the active ID content 135 return false; 136 }); 137 138 $('.down_section').mouseenter(function(){ 139 $(this).find('ul').show(); 140 }); 141 $('.down_section').mouseleave(function(){ 142 $(this).find('ul').hide(); 143 }); 144 145 146 //Archive ê²ìë©ë´ ì´ê¸° 147 $('.search_menu_btn').click(function(){ 148 var $all_menu = $('.search_wrap'); 149 150 if ($all_menu.is(':visible')){ 151 $all_menu.slideUp(); 152 $(this).removeClass('on').text('Word in the Search â¼'); 153 } else { 154 $all_menu.slideDown(); 155 $(this).addClass('on').text('Word in the Search â²'); 156 157 } 158 }); 159 // metrics 160 function dialog() { 161 var dialogBox = $('.dialog'), 162 dialogTrigger = $('.dialog__trigger'), 163 dialogClose = $('.dialog__close'), 164 dialogTitle = $('.dialog__title'), 165 dialogContent = $('.dialog__content'), 166 dialogAction = $('.dialog__action'), 167 dialogDim = $('#dim'); 168 169 // Open the dialog 170 dialogTrigger.on('click', function(e) { 171 dialogBox.toggleClass('dialog--active'); 172 e.stopPropagation(); 173 dialogDim.fadeIn(); 174 }); 175 176 // Close the dialog - click close button 177 dialogClose.on('click', function() { 178 dialogBox.removeClass('dialog--active'); 179 dialogDim.fadeOut(300); 180 }); 181 // Close the dialog - click close button 182 dialogDim.on('click', function() { 183 dialogBox.removeClass('dialog--active'); 184 dialogDim.fadeOut(300); 185 }); 186 187 // Close the dialog - press escape key // key#27 188 $(document).keyup(function(e) { 189 if (e.keyCode === 27) { 190 dialogBox.removeClass('dialog--active'); 191 dialogDim.fadeOut(300); 192 } 193 }); 194 195 // Close dialog - click outside 196 $(document).on("click", function(e) { 197 if ($(e.target).is(dialogBox) === false && 198 $(e.target).is(dialogTitle) === false && 199 $(e.target).is(dialogContent) === false && 200 $(e.target).is(dialogAction) === false) { 201 dialogBox.removeClass("dialog--active"); 202 dialogDim.fadeOut(300); 203 } 204 }); 205 206 }; 207 // Run function when the document has loaded 208 $(function() { 209 dialog(); 210 }); 211 212}); 213$(window).resize(function(e){ 214 var wWidth = $(window).innerWidth(); 215 if(wWidth < 1701 && wWidth > 768){ 216 tTooltip(); 217 }else if(wWidth < 768){ 218 }else{ 219 tooltip(); 220 } 221 if(wWidth < 1025){ 222 //mGolayer 223 mGolayer(); 224 }else{ 225 //goLayer 226 goLayer(); 227 } 228}); 229 function text(){ 230 $('.review_txt').each(function(){ 231 var length = 100000; //íìí ê¸ìì ì í기 232 $(this).each(function(){ 233 if( $(this).text().length >= length ){ 234 $(this).text( $(this).text().substr(0,length)+'...'); 235 //ì§ì í ê¸ìì ì´í íìí í ì¤í¸ 236 } 237 }); 238 }); 239 $('.mr_ab_txt').each(function(){ 240 var length = 290; //íìí ê¸ìì ì í기 241 $(this).each(function(){ 242 if( $(this).text().length >= length ){ 243 $(this).text( $(this).text().substr(0,length)+'...'); 244 //ì§ì í ê¸ìì ì´í íìí í ì¤í¸ 245 } 246 }); 247 }); 248 } 249 function visual(){ 250 $('.visual').not('.slick-initialized').slick({
251 arrows: false, 252 dots: true, 253 autoplay: true, 254 autoplaySpeed: 3000, 255 Speed: 1000, 256 infinite: true, 257 slidesToShow: 1, 258 slidesToScroll: 1 259 }); 260 } 261 function search(){ 262 $('.search-btn').on('click',function(e){ 263 $('#sch-pop, #schDim').stop().fadeIn(); 264 $('.m_gnb').slideUp(); 265 $('.m_menu_bg').hide(); 266 $('.m_menu_btn > a').find('span').fadeIn(); 267 //$('body').css('overflow','hidden'); 268 }); 269 $('.btn-schpop-close, .btn-schpop-close i').on('click',function(e){ 270 $('#sch-pop, #schDim').stop().fadeOut(); 271 //$('body').css('overflow','auto'); 272 }); 273 $('#schDim').on('click',function(e){ 274 $('#sch-pop, #schDim').stop().fadeOut(); 275 //$('body').css('overflow','auto'); 276 }); 277 } 278 function accodion(){ 279 //ìì½ëì¸ 280 $('.accordion > li > a.acco-tit').on('click',function(){ 281 $(this).parent('li').toggleClass('on'); 282 $(this).parent('li').siblings().removeClass('on'); 283 $(this).next('.acco-con').stop().slideToggle(); 284 $(this).parent('li').siblings().children('.acco-con').stop().slideUp(); 285 }); 286 } 287 function moreBtn(){ 288 $('.more_btn').click(function(){ 289 var $more_show = $(this).parent('.bot_info').nextAll('.show_bagic'); 290 $more_show.toggleClass('active'); 291 if ($more_show.is('.active') == true ){ 292 $(this).find('i').removeClass('xi-angle-down-min').addClass('xi-angle-up-min'); 293 } else { 294 $(this).find('i').removeClass('xi-angle-up-min').addClass('xi-angle-down-min'); 295 } 296 }); 297 } 298 299function hscroll() { 300 function checkBindScroll() { 301 if ($(window).width() > 1024) { 302 $(window).on('scroll.hscroll', function () { 303 var scroll = $(window).scrollTop(); 304 if (scroll >= 200) { 305 $(".scroll-wrap").fadeIn(); 306 } else { 307 $(".scroll-wrap").fadeOut(); 308 } 309 }); 310 } else { 311 $(window).off('scroll.hscroll'); 312 $(".scroll-wrap").hide(); // 모ë°ì¼ìì ê°ì ì¨ê¹ 313 } 314 } 315 316 checkBindScroll(); 317 $(window).resize(function () { 318 checkBindScroll(); // íë©´ í¬ê¸° ë°ë ë ì¬ì¤ì 319 }); 320} 321 322 function banner(){ 323 $('.banner-wrap-top').slick({ 324 autoplay: true, 325 infinite: true, 326 slidesToShow: 5, 327 slidesToScroll: 1, 328 prevArrow: '.slick-prev-top', 329 nextArrow: '.slick-next-top', 330 infinite: true, 331 responsive: [ 332 { 333 breakpoint: 1300, 334 settings: { 335 slidesToShow: 4, 336 slidesToScroll: 1, 337 infinite: true 338 } 339 }, 340 { 341 breakpoint: 1024, 342 settings: { 343 slidesToShow: 3, 344 slidesToScroll: 1 345 } 346 }, 347 { 348 breakpoint: 540, 349 settings: { 350 slidesToShow: 2, 351 slidesToScroll: 1 352 } 353 } 354 355 // You can unslick at a given breakpoint now by adding: 356 // settings: "unslick" 357 // instead of a settings object 358 ] 359 }); 360 361 // bottom banner 362 $('.banner-wrap').slick({ 363 autoplay: true, 364 infinite: true, 365 slidesToShow: 5, 366 slidesToScroll: 1, 367 prevArrow: '.slick-prev-btm', 368 nextArrow: '.slick-next-btm', 369 infinite: true, 370 responsive: [ 371 { 372 breakpoint: 1300, 373 settings: { 374 slidesToShow: 4, 375 slidesToScroll: 1, 376 infinite: true 377 } 378 }, 379 { 380 breakpoint: 1024, 381 settings: { 382 slidesToShow: 3, 383 slidesToScroll: 1 384 } 385 }, 386 { 387 breakpoint: 540, 388 settings: { 389 slidesToShow: 2, 390 slidesToScroll: 1 391 } 392 } 393 394 // You can unslick at a given breakpoint now by adding: 395 // settings: "unslick" 396 // instead of a settings object 397 ] 398 }); 399 } 400 401function goLayer(){ 402 // PC Go to ì´ëì ìì´ì½ ìë³µ 403 $('.goto_layer > a').parent('div').children('a').children('i').attr('class','xi-caret-down-min'); 404 // 모ë°ì¼ Go to ì´ë²¤í¸ ëê³ ì´ë²¤í¸ ìì 405 $('.goto_layer > a').off('click').mouseenter(function(e){ 406 $(this).next('ul').stop().slideDown(200); 407 $('.goto_layer > a').not(this).next('ul').stop().slideUp(200); 408 }); 409 $('.goto_layer').off('click').mouseleave(function(e){ 410 $('.go_list').stop().slideUp(200); 411 }); 412 $('.go_list > li > a, .list-type4 > li > a').on('click',function(){ 413 var header = $('.scroll-wrap').height(); 414 $('html,body').stop().animate({scrollTop:$(this.hash).offset().top - header - 80}, 300); 415 }); 416} 417 418function mGolayer(){ 419 // PC Go to ì´ë²¤í¸ ë기 420 $('.goto_layer > a').off('mouseenter'); 421 $('.goto_layer').off('mouseleave'); 422 $('.goto_layer > a').off('click').on('click',function(e){ 423 // í´ë¹ Go to í´ë¦ì í¼ì¹ê³ ì¹ìì´ì½ ë³ê²½ 424 $(this).next('ul').stop().slideToggle(200);
425 $(this).find('i').toggleClass('xi-caret-up-min').toggleClass('xi-caret-down-min'); 426 // ë¤ë¥¸ Go to í´ë¦ì ì ê³ ìì´ì½ë ìë³µ 427 $('.goto_layer > a').not(this).next('ul').stop().slideUp(200); 428 $('.goto_layer > a').not(this).parent('div').children('a').children('i').attr('class','xi-caret-down-min'); 429 }); 430 $('.go_list > li > a, .list-type4 > li > a').off('click').on('click',function(){ 431 // í¼ì³ì§ ë©ë´ í´ë¦ì ì´ëíê³ , 모ë Go to ì ê³ , ì¹ìì´ì½ ìë³µ 432 var headerM = $('#header').height(); 433 $('html,body').stop().animate({scrollTop:$(this.hash).offset().top - headerM - 80}, 300); 434 $('.goto_layer > ul').stop().slideUp(200); 435 $('.goto_layer > a').parent('div').children('a').children('i').attr('class','xi-caret-down-min'); 436 }); 437} 438 439function tooltip(){ 440 // ê¶í¸ì ì¤ì íì´ì§ í´í ì¤ì 441 //sub big list 442 $('.tooltip-graphic').on('mouseenter',function(){ 443 var fn_no = $(this).attr("src"); 444 fn_no = fn_no.replace('#',''); 445 if (fn_no){ 446 //ë¸ë¼ì°ì ê° titleìì±ì ê°ì 기본ì í´íì¼ë¡ ë³´ì¬ì£¼ê¸° ë문ì ë°©ì§ë¥¼ ìí´ ê°ì 공백ì¼ë¡ ì²ë¦¬ 447 $(this).attr("title",""); 448 449 450 if (fn_no=="None"){// 기본ì´ë¯¸ì§ ë ¸ì¶ 451 $('body').append(""); 452 }else{// ì ë¡ëë ì´ë¯¸ì§ ë ¸ì¶ 453 $('body').append("<div id='tooltip_coverImage'><div><img src='"+fn_no+"'></div></div>"); 454 } 455 456 //ìì¹ êµ¬í기 457 var pagex1 = $(this).offset().left +160; 458 var pagey1 = $(this).offset().top - jQuery("#tooltip_coverImage").innerHeight()+200; 459 460 461 $('#tooltip_coverImage').css({left:pagex1+"px", top:pagey1+"px"}).fadeIn(500); 462 } 463 }); 464 $('.tooltip-graphic').on('mouseleave',function(){ 465 $('#tooltip_coverImage').remove(); //ë§ì°ì¤ì»¤ìê° ë ëë©´ í´íìì ì ê±° 466 }); 467 } 468 469function tTooltip(){ 470 $('.tooltip-graphic').on('mouseenter',function(){ 471 var fn_no = $(this).attr("src"); 472 fn_no = fn_no.replace('#',''); 473 if (fn_no){ 474 //ë¸ë¼ì°ì ê° titleìì±ì ê°ì 기본ì í´íì¼ë¡ ë³´ì¬ì£¼ê¸° ë문ì ë°©ì§ë¥¼ ìí´ ê°ì 공백ì¼ë¡ ì²ë¦¬ 475 $(this).attr("title",""); 476 477 478 if (fn_no=="None"){// 기본ì´ë¯¸ì§ ë ¸ì¶ 479 $('body').append(""); 480 }else{// ì ë¡ëë ì´ë¯¸ì§ ë ¸ì¶ 481 $('body').append("<div id='tooltip_coverImage'><div><img src='"+fn_no+"'></div></div>"); 482 } 483 484 //ìì¹ êµ¬í기 485 var pagex1 = $(this).offset().left +160; 486 var pagey1 = $(this).offset().top - jQuery("#tooltip_coverImage").innerHeight()+10; 487 488 $('#tooltip_coverImage').css({left:pagex1+"px", top:pagey1+"px"}).fadeIn(500); 489 } 490 }); 491 $('#tooltip_coverImage, .goog-te-menu-frame').on('mouseenter',function(){ 492 $('#tooltip_coverImage').show(); 493 }); 494 $('.tooltip-graphic').on('mouseleave',function(){ 495 $('#tooltip_coverImage').remove(); //ë§ì°ì¤ì»¤ìê° ë ëë©´ í´íìì ì ê±° 496 }); 497} 498
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.