1$(document).ready(function(){ 2 var mode = ""; 3 mode = getDeivce(); 4 function getDeivce(){ 5 var mode = "PC"; 6 if($(window).outerWidth(true) >= 768){ 7 mode = "PC"; 8 }else{ 9 mode = "MO"; 10 } 11 return mode; 12 } 13 $(".midea_wrap > h3 >a").on("click",function(){ 14 if($(this).parent().next("div").length > 0){ 15 $(".midea_list.on > .midea_box > ul").slick("unslick"); 16 $(".midea_wrap > h3 >a").removeClass("on"); 17 $(this).addClass("on"); 18 $(".midea_wrap .midea_list").removeClass("on"); 19 $(".midea_wrap .midea_list").addClass("hide"); 20 $(this).parent().next("div").addClass("on"); 21 $(this).parent().next("div").removeClass("hide"); 22 $(".midea_list.on > .midea_box > ul").slick({ 23 autoplay: true, 24 autoplaySpeed:5000, 25 slidesToShow: 2, 26 slidesToScroll:1, 27 infinite:true, 28 swipeToSlide:true, 29 responsive: [ 30 { 31 breakpoint: 1024, 32 settings: { 33 slidesToShow: 2, 34 swipeToSlide:true, 35 slidesToScroll: 1 36 } 37 }, 38 { 39 breakpoint: 768, 40 settings: { 41 slidesToShow: 1, 42 swipeToSlide:true, 43 slidesToScroll: 1 44 } 45 } 46 ], 47 arrows: true, 48 prevArrow :'.midea_list.on > .ctrl > .prev', 49 nextArrow :'.midea_list.on > .ctrl > .next' 50 }); 51 return false; 52 } 53 }); 54 $(".main_bbs_area > h2 >a").on("click",function(){ 55 if($(this).parent().next("div").length > 0){ 56 if($(".bbs_list.on > .bl_box > ul").hasClass("slick-initialized")){ 57 $(".bbs_list.on > .bl_box > ul").slick("unslick"); 58 $(".bbs_list.on > .ctrl > .prev").off(); 59 $(".bbs_list.on > .ctrl > .next").off(); 60 } 61 sleep(100); 62 $(".main_bbs_area > h2 >a").removeClass("on"); 63 $(this).addClass("on"); 64 $(".main_bbs_area .bbs_list").removeClass("on"); 65 $(".main_bbs_area .bbs_list").addClass("hide"); 66 $(this).parent().next("div").addClass("on"); 67 $(this).parent().next("div").removeClass("hide"); 68 go_board(); 69 return false; 70 } 71 }); 72 $(".service_type > h3 >a").on("click",function(){ 73 if($(this).parent().next("div").length > 0){ 74 $(".service_type > h2 >a").removeClass("on"); 75// $(this).addClass("on"); 76// $(".service_type .st_list").removeClass("on"); 77 $(".service_type .st_list").addClass("hide"); 78// $(this).parent().next("div").addClass("on"); 79 $(this).parent().next("div").removeClass("hide"); 80 return false; 81 } 82 }); 83 $(".vzone_img").slick({ 84 autoplay: true, 85 autoplaySpeed:5000, 86 slidesToShow: 1, 87 slidesToScroll:1, 88 infinite:true, 89 swipeToSlide:true, 90 arrows: true, 91 prevArrow :'.vzone > .ctrl > .prev', 92 nextArrow :'.vzone > .ctrl > .next' 93 }); 94 $(".vzone_img").on('afterChange', function(event, slick, currentSlide, nextSlide){ 95 $(".vzone > .ctrl > span > strong").html(currentSlide+1); 96 }); 97 $(".vzone > .ctrl > .list").on("click",function(){ 98 $(".vzone_list").addClass("on"); 99 return false; 100 }); 101 $(".vzone_list > .close").on("click",function(){ 102 $(".vzone_list").removeClass("on"); 103 return false; 104 }); 105 var mp9 = true; 106 $(".vzone > .ctrl > .stop").on("click",function(){ 107 if(mp9 == true){ 108 $(".vzone_img").slick('slickPause'); 109 $(this).removeClass("stop"); 110 $(this).addClass("play"); 111 $(this).text("ì¬ì"); 112 mp9 = false; 113 }else{ 114 $(".vzone_img").slick('slickPlay'); 115 $(this).removeClass("play"); 116 $(this).addClass("stop"); 117 $(this).text("ì ì§"); 118 mp9 = true; 119 } 120 return false;; 121 }); 122 $(".pzone_img").slick({ 123 autoplay: true, 124 autoplaySpeed:5000, 125 slidesToShow: 1, 126 slidesToScroll:1, 127 infinite:true, 128 swipeToSlide:true, 129 arrows: true, 130 prevArrow :'.pzone > .ctrl > .prev', 131 nextArrow :'.pzone > .ctrl > .next' 132 }); 133 var mp6 = true; 134 $(".pzone > .ctrl > .stop").on("click",function(){ 135 if(mp6 == true){ 136 $(".pzone_img").slick('slickPause'); 137 $(this).removeClass("stop"); 138 $(this).addClass("play"); 139 $(this).text("ì¬ì"); 140 mp6 = false; 141 }else{ 142 $(".pzone_img").slick('slickPlay'); 143 $(this).removeClass("play"); 144 $(this).addClass("stop"); 145 $(this).text("ì ì§"); 146 mp6 = true; 147 } 148 return false;; 149 }); 150 $(".pzone > .ctrl > .list").on("click",function(){ 151 $(".pzone_list").addClass("on"); 152 return false;
153 }); 154 $(".pzone_list > .close").on("click",function(){ 155 $(".pzone_list").removeClass("on"); 156 return false; 157 }); 158 $(".story_list > ul").slick({ 159 autoplay: true, 160 autoplaySpeed:5000, 161 slidesToShow: 5, 162 slidesToScroll:1, 163 infinite:true, 164 swipeToSlide:true, 165 responsive: [ 166 { 167 breakpoint: 1024, 168 settings: { 169 slidesToShow: 1, 170 swipeToSlide:true, 171 slidesToScroll: 1 172 } 173 }, 174 { 175 breakpoint: 768, 176 settings: { 177 slidesToShow: 1, 178 swipeToSlide:true, 179 slidesToScroll: 1 180 } 181 } 182 ], 183 arrows: true, 184 prevArrow :'.uljin_story > .ctrl > .prev', 185 nextArrow :'.uljin_story > .ctrl > .next' 186 }); 187 $(".f_banner .list > ul").slick({ 188 autoplay: true, 189 autoplaySpeed:5000, 190 slidesToShow: 5, 191 slidesToScroll:1, 192 infinite:true, 193 swipeToSlide:true, 194 variableWidth : true, 195 arrows: true, 196 prevArrow :'.f_banner > .ctrl > .prev', 197 nextArrow :'.f_banner > .ctrl > .next' 198 }); 199function go_board(){ 200 if(mode == "MO"){ 201 $(".bbs_list.on > .bl_box > ul").slick({ 202 autoplay: true, 203 autoplaySpeed:5000, 204 slidesPerRow: 3, 205 slidesToScroll:1, 206 infinite:true, 207 swipeToSlide:true, 208 responsive: [ 209 { 210 breakpoint: 1024, 211 settings: { 212 slidesToShow: 1, 213 swipeToSlide:true, 214 slidesToScroll: 1 215 } 216 }, 217 { 218 breakpoint: 600, 219 settings: { 220 slidesPerRow: 1, 221 swipeToSlide:true, 222 slidesToScroll: 1 223 } 224 }, 225 { 226 breakpoint: 300, 227 settings: { 228 slidesPerRow: 1, 229 swipeToSlide:true, 230 slidesToScroll: 1 231 } 232 } 233 ], 234 arrows: true, 235 prevArrow :'.bbs_list.on > .ctrl > .prev', 236 nextArrow :'.bbs_list.on > .ctrl > .next' 237 }); 238 }else{ 239 if($(".bbs_list.on > .bl_box > ul").hasClass("slick-initialized")){ 240 $(".bbs_list.on > .bl_box > ul").slick("unslick"); 241 $(".bbs_list.on > .ctrl > .prev").off(); 242 $(".bbs_list.on > .ctrl > .next").off(); 243 } 244 } 245} 246go_board(); 247 $(".midea_list.on > .midea_box > ul").slick({ 248 autoplay: true, 249 autoplaySpeed:5000, 250 slidesToShow: 2, 251 slidesToScroll:1, 252 infinite:true, 253 swipeToSlide:true, 254 responsive: [ 255 { 256 breakpoint: 1024, 257 settings: { 258 slidesToShow: 2, 259 swipeToSlide:true, 260 slidesToScroll: 1 261 } 262 }, 263 { 264 breakpoint: 768, 265 settings: { 266 slidesToShow: 1, 267 swipeToSlide:true, 268 slidesToScroll: 1 269 } 270 } 271 ], 272 arrows: true, 273 prevArrow :'.midea_list.on > .ctrl > .prev', 274 nextArrow :'.midea_list.on > .ctrl > .next' 275 }); 276 $(".fs_wrap > ul").slick({ 277 autoplay: true, 278 autoplaySpeed:5000, 279 slidesToShow: 10, 280 slidesToScroll:1, 281 infinite:true, 282 swipeToSlide:true, 283 responsive: [ 284 { 285 breakpoint: 1024, 286 settings: { 287 slidesToShow: 5, 288 swipeToSlide:true, 289 slidesToScroll: 1 290 } 291 }, 292 { 293 breakpoint: 768, 294 settings: { 295 slidesToShow: 3, 296 swipeToSlide:true, 297 slidesToScroll: 1 298 } 299 }, 300 { 301 breakpoint: 300, 302 settings: { 303 slidesToShow: 3, 304 swipeToSlide:true, 305 slidesToScroll: 1 306 } 307 } 308 ], 309 arrows: true, 310 prevArrow :'.f_service > .ctrl > .prev', 311 nextArrow :'.f_service > .ctrl > .next' 312 }); 313 $.ajax({ 314 url : "/index.uljin?contentsSid=2501&type=gosi", 315 type : "GET", 316 async : true, 317 cache : true, 318 dataType: "html", 319 error : function(info, xhr) { 320 }, 321 success : function(result) { 322 $("#gosi_wrap").empty(); 323 $("#gosi_wrap").html(result); 324 } 325 }); 326 327 /** 328 * =================================================================================== 329 * = ì±ì©ê³µê³ ê´ë ¨ 330 * =================================================================================== 331 */ 332 $.ajax({ 333 url : "/index.uljin?contentsSid=2501&type=recruit", 334 type : "GET", 335 async : true, 336 cache : true, 337 dataType: "html", 338 error : function(info, xhr) { 339 }, 340 success : function(result) { 341 $("#recruit_wrap").empty(); 342 $("#recruit_wrap").html(result); 343 } 344 }); 345 $(window).resize(function(){ 346 mode = getDeivce(); 347 if(mode != mode2){ 348 if($(".bbs_list.on > .bl_box > ul").hasClass("slick-initialized")){ 349 $(".bbs_list.on > .bl_box > ul").slick("unslick"); 350 $(".bbs_list.on > .ctrl > .prev").off(); 351 $(".bbs_list.on > .ctrl > .next").off(); 352 } 353 sleep(100); 354 go_board(); 355 mode2 = mode; 356 } 357 }); 358 var mode2 = mode; 359 function sleep(ms) { 360 const start = Date.now(); 361 while (Date.now() - start < ms) {} 362 } 363 364});
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.