1$.fn.scrollStopped = function(callback) { 2 var that = this, $this = $(that); 3 $this.scroll(function(ev) { 4 clearTimeout($this.data('scrollTimeout')); 5 $this.data('scrollTimeout', setTimeout(callback.bind(that), 250, ev)); 6 }); 7}; 8 9var scrollEvent = function () { 10 var windowHeight = $("#header").offset(); 11 if(windowHeight.top > 0){ 12 //$("#header").css("background-color","#fff"); 13 } else { 14 //$("#header").css("background-color",""); 15 } 16}; 17 18 19 20var fnNonView = function () { 21 var name = $("[name='strUserName']").val(); 22 23 24}; 25 26 27 28$(document).ready(function(){ 29 30 // ì¹íì ìë´ì»¤ë®¤ëí° ì¨ê¹ 31 fnNonView(); 32 33 var windowWidth = $(window).width(); 34 35 $('.h_btn').click(function (){ 36 $('#header').toggleClass('on'); 37 }); 38 39 $('.all_btn').click(function (){ 40 $('.all_menu').toggleClass('on'); 41 $('.all_btn').toggleClass('on'); 42 $('header nav.mb_hd').toggleClass('on'); 43 $('#wrap').toggleClass('on'); 44 }); 45 46 $(window).scroll(function () { 47 scrollEvent(); 48 }); 49 scrollEvent(); 50 51 if(windowWidth > 1023){ 52 $(".hgMenu").on("mouseenter",function () { 53 $(this).addClass('on'); 54 55 }); 56 $(".hgMenu").on("mouseleave",function () { 57 $(this).removeClass('on'); 58 $("#header").css("background-color","#fff"); 59 }); 60 /*$(".hgMenu").on("mouseenter",function () { 61 $(".hgMenu").find("ul").hide(); 62 $(this).children("ul").slideDown(); 63 }); 64 $(".hgMenu").on("mouseleave",function () { 65 $(".hgMenu").find("ul").hide(); 66 $("#header").css("background-color","#fff"); 67 });*/ 68 } else { 69 $(".hg_main > a").css("display","none"); 70 $(".hgMenu").click(function () { 71 $(this).children("ul").slideToggle(); 72 }); 73 74 $("header nav ul.basic_menu > li > a").removeAttr("href"); 75 $("header nav ul.basic_menu > li").click(function () { 76 $(this).toggleClass('on'); 77 }); 78 } 79 80 81 var pmode = getUrlVar('pmode'); 82 83 $(".lastbox > li:last-child").click(function(){ 84 $(this).toggleClass("on"); 85 86 if($(this).hasClass("on")){ 87 $(".hgMenu").children("ul").addClass("on"); 88 } else { 89 $(".hgMenu").children("ul").removeClass("on"); 90 } 91 92 }); 93 94 95 96 // ëì¤ë©ë´ ì´ë 97 $(".csn_1depth > button").click(function () { 98 $(".csn_1depth > ul").slideToggle(); 99 }); 100 101 $(".csn_2depth > button").click(function () { 102 $(".csn_2depth > ul").slideToggle(); 103 }); 104}); 105 106$(document).ready(function(e) { 107 $('img[usemap]').rwdImageMaps(); 108 109 $('area').on('click', function() { 110 //alert($(this).attr('alt') + ' clicked'); 111 }); 112});
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.