1$(function(){ 2 if(typeof sklsPageName !== "undefined"){ 3 if(sklsPageName == "index"){ 4 $("header").css({"background-color":"#ffffff"}); 5 6 $("header .header_top").hide(); 7 $("header .header_main").show(); 8 } 9 if(sklsPageName == "brand") $("header").css({"background-color":"#f89828"}); 10 if(sklsPageName == "lineup") $("header").css({"background-color":"#ff8448"}); 11 if(sklsPageName == "customer") $("header").css({"background-color":"#f63461"}); 12 if(sklsPageName == "mypage") $("header").css({"background-color":"#f89828"}); 13 if(sklsPageName == "goods") $("header").css({"background-color":"#ff7062"}); 14 if(sklsPageName == "order") $("header").css({"background-color":"#6c6c6c"}); 15 if(sklsPageName == "event") $("header").css({"background-color":"#22cfe4"}); 16 if(sklsPageName == "etc") $("header").css({"background-color":"#19c96d"}); 17 }else{ 18 $("header").css({"background-color":"#f89828"}); 19 } 20 21 // nav ë©ë´ on 22 $(".btn_nav").click(function(){ 23 $(".bg_nav").show(); 24 25 $(".menu").animate({"left":"0"},200); 26 return false; 27 }); 28 29 // nav ë©ë´ off 30 $(".btn_nav_close, .bg_nav").click(function(){ 31 $(".menu").animate({"left":"-480px"},200,function(){ 32 $(".bg_nav").hide(); 33 }); 34 return false; 35 }); 36 37 // nav ë©ë´ depth 38 $(".nav_dep_1 a").click(function(){ 39 var nav_cate = $(this).attr("class").split("btn_nav_"); 40 nav_cate = nav_cate[1]; 41 if(!$(this).hasClass("active")){ 42 $(".nav_dep_1 a").removeClass("active"); 43 $(this).addClass("active"); 44 45 $(".nav_dep_2").stop(true,false).animate({"right":"-76px","opacity":"0"},200,function(){ 46 $(".nav_dep_2 .nav_dep_2_list").hide(); 47 $(".nav_dep_2").hide(); 48 49 $(".nav_dep_2").attr("class","nav_dep_2"); 50 $(".nav_dep_2").addClass(nav_cate); 51 $(".nav_dep_2 .nav_dep_2_list." + nav_cate).show(); 52 53 $(".nav_dep_2").show(); 54 $(".nav_dep_2").stop(true,false).animate({"right":"-1px","opacity":"1"},200); 55 }); 56 }else{ 57 $(this).removeClass("active"); 58 59 $(".nav_dep_2").stop(true,false).animate({"right":"-76px","opacity":"0"},200,function(){ 60 $(".nav_dep_2 .nav_dep_2_list").hide(); 61 $(".nav_dep_2").hide(); 62 63 $(".nav_dep_2").attr("class","nav_dep_2"); 64 }); 65 } 66 67 return false; 68 }); 69 70 // tab ë²í¼ 71 $(".tab_box a").click(function(){ 72 if(!$(this).hasClass("active")){ 73 $(".tab_box a").removeClass("active"); 74 $(this).addClass("active"); 75 } 76 77 return false; 78 }); 79 80 // ê³µíµ ìì½ëì¸ ë²í¼ 81 $(".btn_agree_comm").click(function(){ 82 if(!$(this).hasClass("active")){ 83 $(this).parents(".agree_comm_box").find(".agree_comm_tx").slideUp(300); 84 $(this).next(".agree_comm_tx").slideDown(300); 85 86 $(this).parents(".agree_comm_box").find(".btn_agree_comm").removeClass("active"); 87 $(this).addClass("active"); 88 }else{ 89 $(this).next(".agree_comm_tx").slideUp(300); 90 91 $(this).removeClass("active"); 92 } 93 94 return false; 95 }); 96 97 // ì주 묻ë ì§ë¬¸ ìì½ëì¸ ë²í¼ 98 $(".btn_question").click(function(){ 99 if(!$(this).hasClass("active")){ 100 $('.answer').slideUp(300); 101 $(this).next('.answer').slideDown(300); 102 103 $(".btn_question").removeClass("active"); 104 $(this).addClass("active"); 105 }else{ 106 $(this).next('.answer').slideUp(300); 107 108 $(this).removeClass("active"); 109 } 110 111 return false; 112 }); 113 114 // íìê°ì ìì½ëì¸ ë²í¼ 115 $(".btn_agree_tx").click(function(){ 116 if(!$(this).hasClass("active")){ 117 $(".agree_tx").slideUp(300); 118 $(this).parent(".agree_btn_box").next(".agree_tx").slideDown(300); 119 120 $(".btn_agree_tx").removeClass("active"); 121 $(this).addClass("active"); 122 }else{ 123 $(this).parent(".agree_btn_box").next(".agree_tx").slide
123Up(300); 124 125 $(this).removeClass("active"); 126 } 127 128 return false; 129 }); 130 131 // 첨ë¶íì¼ ë²í¼ 132 $(".input_file").change(function(){ 133 var upload_fileSize = 0; 134 135 // ë¸ë¼ì°ì íì¸ 136 var upload_browser=navigator.appName; 137 138 // ìµì¤íë¡ë¬ì¼ ê²½ì° 139 if (upload_browser=="Microsoft Internet Explorer"){ 140 var oas = new ActiveXObject("Scripting.FileSystemObject"); 141 upload_fileSize = oas.getFile($(this)[0].value).size; 142 } 143 // ìµì¤íë¡ë¬ê° ìëê²½ì° 144 else{ 145 upload_fileSize = $(this)[0].files[0].size; 146 } 147 148 if(upload_fileSize > 10 * 1024 * 1024){ 149 alert("첨ë¶íì¼ ì©ëì ì´ê³¼íìµëë¤. 10mb ì´íë¡ ì²¨ë¶í´ì£¼ì¸ì."); 150 return; 151 } 152 153 var upload_filename = $(".input_file").val(); 154 upload_filename = upload_filename.split("\\"); 155 upload_filename = upload_filename[upload_filename.length -1]; 156 157 $('.input_file_tx').val(upload_filename); 158 }); 159 160 // ì½ê´ ë보기 ë²í¼ 161 $(".term_comm .btn_more").click(function(){ 162 $(this).parents(".term_comm").find(".term_comm_inner").css({"height":"auto"}); 163 $(this).hide(); 164 165 return false; 166 }); 167 168 // ë¤ë¡ê°ê¸° ë²í¼ 169 $(".btn_back").click(function(){ 170 window.history.back(); 171 return false; 172 }); 173 174 // ì´ì»¤ë¨¸ì¤ ìì½ëì¸ ê³µíµ ë²í¼ 175 $(".btn_toggle_comm").click(function(){ 176 if(!$(this).hasClass("active")){ 177 $(this).parent(".prod_btn_box").next(".prod_comm_toggle_box").slideDown(300); 178 179 $(this).addClass("active"); 180 }else{ 181 $(this).parent(".prod_btn_box").next(".prod_comm_toggle_box").slideUp(300); 182 183 $(this).removeClass("active"); 184 } 185 186 return false; 187 }); 188}); 189 190function maxLengthCheck(object) { 191 if( object.value.indexOf('-') > -1 || object.value.indexOf('+') > -1 ){ 192 object.value = object.value.slice(0,0); 193 } 194 195 if (object.value.length > object.maxLength) { 196 object.value = object.value.slice(0, object.maxLength); 197 } 198} 199 200function maxLengthAlert(thiz,maxLeng){ 201 var $this = $(thiz); 202 if($this.val().length > (maxLeng - 1)){ 203 alert(maxLeng + 'ì를 ì´ê³¼íìµëë¤. ì´ê³¼ë ê¸ì ìë ìëì¼ë¡ ìì ë©ëë¤.'); 204 $this.val($this.val().substr(0,maxLeng - 1)); 205 } 206} 207 208function onlyNumber(obj) { 209 $(obj).keyup(function(){ 210 $(this).val($(this).val().replace(/[^0-9]/g,"")); 211 }); 212} 213 214function pagination(){ 215 var $paging = $(".paging_navigation"); 216 var $targ = $paging; 217 218 if($(".paging_navigation p").length != 0) $targ = $paging.find("p:eq(0)"); 219 else $targ = $paging; 220 221 $targ.find("span.first").parent().remove(); 222 $targ.find("span.end").parent().remove(); 223 224 if($targ.find("a[rel='prev']").length == 0){ 225 $targ.prepend('<a href="javascript:void(0);" rel="prev"><span class="prev">â ì´ì </span></a>'); 226 } 227 228 if($targ.find("a[rel='next']").length == 0){ 229 $targ.append('<a href="javascript:void(0);" rel="next"><span class="next">ë¤ì â¶</span></a>'); 230 } 231} 232 233function setCookieEx(c_name,value,exdays,path){ 234 var exdate = new Date(); 235 exdate.setDate(exdate.getDate() + exdays); 236 exdate.setHours(0); 237 exdate.setMinutes(0); 238 exdate.setSeconds(0); 239 var c_value = escape(value) + ((exdays==null) ? "" : "; expires=" + exdate.toUTCString()) + ((path==null) ? "" : "; path=" + path); 240 document.cookie = c_name + "=" + c_value; 241} 242 243function delCookieEx(c_name,path){ 244 var date = new Date(); 245 document.cookie = c_name + "= " + "; expires=" + date.toUTCString() + ((path==null) ? "" : "; path=" + path); 246} 247 248function getNowdate(){ 249 let today = new Date(); 250 var year = today.getFullYear(); 251 var month = ('0' + (today.getMonth() + 1)).slice(-2); 252 var day = ('0' + today.getDate()).slice(-2); 253 var hours = ('0' + today.getHours()).slice(-2); 254 var minutes = ('0' + today.getMinutes()).slice(-2); 255 var nowdate = year + "" + month + "" + day + "" + hours + "" + minutes; 256 257 return nowdate; 258} 259 260/* ì¤ì¿¨ë£©ì¤ ì ZB1ì ì°¾ìë¼ íë¡í ë°°ë */ 261$(function(){ 262 findzb1Event(); 263}); 264function findzb1Event(){ 265 var pathPage = ["index","lineup","brand","goods"]; 266 // var pathUrl = []; 267 var pathName = location.pathname; 268 var randomNo = Math.floor((Math.random() * 100) + 1); 269 var photoNo = Math.floor((Math.random() * 10) + 1); 270 // var isPageCheck = false;
271 var isEvent = false; 272 273 if(typeof sklsPageName !== "undefined"){ 274 $.each(pathPage, function(i){ 275 if(sklsPageName == pathPage[i]){ 276 if(randomNo <= 50) isEvent = true; 277 // isPageCheck = true; 278 } 279 }); 280 } 281 282 // if(isPageCheck == false){ 283 // $.each(pathUrl, function(i){ 284 // if(pathName.includes(pathUrl[i]) == true){ 285 // if(randomNo <= 50) isEvent = true; 286 // } 287 // }); 288 // } 289 290 if("/skls_event/view/16" != pathName && "/member/login" != pathName){ 291 delCookieEx("evt_16","/"); 292 } 293 294 var nowdate = getNowdate(); 295 296 if(nowdate >= 202312280000){ 297 isEvent = false; 298 return false; 299 } 300 301 if(isEvent == true){ 302 $("#layout_wrap").append('<div id="findZb1-Floating">' 303 + '<div data-photo="' + photoNo + '" class="photoCard"></div>' 304 + '<a href="/skls_event/view/16" data-photo="' + photoNo + '" class="btn_findzb1_floating"><span class="alt">ì모í기</span></a>' 305 + '</div>'); 306 307 $("#findZb1-Floating a").click(function(){ 308 var url = $(this).attr("href"); 309 310 setCookieEx("evt_16","WMMtFigx5uSHPs",null,"/"); 311 setTimeout(function(){ 312 location.href = url; 313 },100); 314 315 return false; 316 }); 317 } 318}
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.