1var $jj = jQuery.noConflict(); 2 3$jj(document).ready(function() { 4 jQuery.browser = {}; 5 (function () { 6 jQuery.browser.msie = false; 7 jQuery.browser.version = 0; 8 if (navigator.userAgent.match(/MSIE ([0-9]+)\./)) { 9 jQuery.browser.msie = true; 10 jQuery.browser.version = RegExp.$1; 11 } 12 })(); 13 // pngfix for msie6 14 if ($jj.browser.msie && + $jj.browser.version == 6) $jj(function() { 15 DD_belatedPNG.fix("img, .pngbg"); 16 $jj("#gnb").addClass("pngbg"); 17 }); 18 19 // gnb 20 initGnb(); 21 22 // snb 23 initSnb(); 24 25 // ì´ë¯¸ì§ ê²½ë¡ ë°ê¾¸ê¸° 26 // img.imgSrcToggle({ orgSrc: 'on.gif', newSrc:'off.gif' }); 27 $jj.fn.imgSrcToggle = function(settings) { 28 var config = { 29 orgSrc : '_off', newSrc : '_on' 30 }; 31 if (settings) $jj.extend(config, settings); 32 this.each(function() { 33 if($jj(this).attr('src')){ 34 $jj(this).attr('src',$jj(this).attr('src').replace(config.orgSrc, config.newSrc)); 35 } 36 }); 37 }; 38 39// ì´ë¯¸ì§ 롤 ì¤ë² 40 // img.imgRollOver({ orgSrc: 'on.gif', newSrc:'off.gif' }); 41 $jj.fn.imgRollOver = function(settings) { 42 var config = { 43 orgSrc : '_off', newSrc : '_on' 44 }; 45 if (settings) $jj.extend(config, settings); 46 this.each(function() { 47 $jj(this).bind('mouseenter',function() { 48 if ($jj(this).attr('src') && $jj(this).attr('src').match(config.orgSrc)) { 49 $jj(this).attr('src', $jj(this).attr('src').replace(config.orgSrc, config.newSrc)); 50 $jj(this).bind('mouseleave',function() { 51 $jj(this).attr('src', $jj(this).attr('src').replace(config.newSrc, config.orgSrc)); 52 }); 53 } 54 }); 55 }); 56 }; 57 $jj('img.rollover, .rollover img, .gnb li a img, div.target-service ul.toggle img, div.link-service img, #modeMenu img').imgRollOver({ orgSrc: '_off', newSrc: '_on' }); 58 59 // input box ì¤íì¼ë§ 60 $jj('input[type=text], input[type=password]').addClass('text'); 61 $jj('input[type=file]').addClass('file'); 62 $jj('input[type=image]').addClass('image'); 63 $jj('input[type=submit]').addClass('button'); 64 $jj('input[type=checkbox]').addClass('check'); 65 $jj('input[type=radio]').addClass('radio'); 66 $jj('textarea').addClass('textarea'); 67 68 $jj('input[type=text], input[type=password], textarea').focusin(function(){ 69 $jj(this).addClass('focus_style'); 70 }); 71 $jj('input[type=text], input[type=password], textarea').focusout(function(){ 72 $jj(this).removeClass('focus_style'); 73 }); 74 75 // login_layer, family_site toggle 76 $jj('a.login_open').click(function(){ 77 $jj('.login_layer').show(); 78 }); 79 $jj('a.login_close').click(function(){ 80 $jj('.login_layer').hide(); 81 }); 82 83 // family_site 84 $jj('a.family_open').click(function(){ 85 $jj('.family_site').show(); 86 }); 87 $jj('.family_close a').click(function(){ 88 $jj('.family_site').hide(); 89 }); 90 91 //í ì´ë¸ ë보기 92 $jj("table.ocean tr:gt(5)").hide(); 93 $jj('div.btn_cell_more a').bind('click', function(event){ 94 event.preventDefault(); 95 $jj("table.ocean tr:gt(5)").toggle(); 96 $jj(this).children('img').imgSrcToggle({ orgSrc: 'btn_close', newSrc:'btn_more2' }); 97 98 if($jj("table.ocean tr:gt(5)").is(':visible')){ 99 $jj(this).children('img').imgSrcToggle({ orgSrc: 'btn_more2', newSrc:'btn_close' }); 100 } 101 102 }); 103 104//main 105 $jj('ul.link_section > li').bind('mouseenter', function(){ 106 var ban_obj = $jj(this).attr('id'); 107 108 if($jj(this).children('div.on').is(':visible')){ 109 $jj(this).children('div.on').css({"opacity":"1"}); 110 }else{ 111 $jj(this).children('div.on').css({"opacity":"0"}); 112 } 113 $jj(this).children('div.on').stop(true , true).animate({"opacity":"1"},"fast").show(); 114 $jj(this).children('div.off').stop(true , true).animate({"opacity":"0"},"fast").hide(); 115 $jj(this).siblings().children('div.off').stop(true , true).animate({"opacity":"1"},"fast").show(); 116 $jj(this).siblings().children('div.on').stop(true , true).animate({"opacity":"0"},"fast").hide(); 117 118 $jj('div.banner_section > div').each(function(){ 119 if($jj(this).attr('id') ==(ban_obj)){ 120 $jj(this).show(); 121 }else{ 122 $jj(this).hide(); 123 } 124 }); 125 }); 126 127 $jj('ul.link_section > li.link_a').bind('mouseenter', function(){ 128 $jj('.top h3 img').attr('src','/img/front/main/h3_reserve.gif'); 129 }); 130 131 $jj('ul.link_section > li.link_b').bind('mouseenter', function(){ 132 $jj('.top h3 img').attr('src','/img/front/main/h3_reserve.gif'); 133 }); 134 135 $jj('ul.link_section > li.link_c').bind('mouseenter', function(){ 136 $jj('.top h3 img').attr('src','/img/front/main/h3_info.gif'); 137 }); 138 139 /*var c8 = $jj('ul.link_section > li:nth-child(2) ul li:first-child a'); 140 141 $jj('ul.link_section > li:nth-child(2)').bind('mouseenter', function(){ 142 $jj(c8).addClass('current'); 143 $jj(c8).parent().siblings().children().removeClass('current'); 144 $jj('.ban_b').show(); 145 $jj('.ban_b1,.ban_b2,.ban_b3').hide(); 146 }); 147 148 $jj('ul.link_section > li:nth-child(1),ul.link_section > li:nth-child(3)').bind('mouseenter', function(){ 149 $jj('.ban_b,.ban_b1,.ban_b2,.ban_b3').hide(); 150 });*/ 151 152 $jj('ul.link_section > li:nth-child(2) ul li a').click(function(){ 153 $jj(this).addClass('current'); 154 $jj(this).parent().siblings().children().removeClass('current'); 155 }); 156 157 $jj('ul.link_section > li:nth-child(2) ul li:nth-child(1) a,ul.link_section > li:nth-child(2) ul li:nth-child(3) a').click(function(){ 158 $jj('.check_set_resort').show(); 159 $jj('.check_set_hotel').hide(); 160 }); 161 $jj('ul.link_section > li:nth-child(2) ul li:nth-child(2) a,ul.link_section > li:nth-child(2) ul li:nth-child(4) a').click(function(){ 162 $jj('.check_set_hotel').show(); 163 $jj('.check_set_resort').hide(); 164 }); 165 166 167 $jj('div.right_link ul.tab li.ban_link a').bind('click', function(event){ 168 event.preventDefault(); 169 var link_obj = $jj(this).attr('href').replace('#',''); 170 171 $jj(this).children('img').imgSrcToggle({ orgSrc: '_off', newSrc:'_on' });
172 $jj(this).parents().siblings().children().children('img').each(function(){ 173 $jj(this).imgSrcToggle({ orgSrc: '_on', newSrc:'_off' }); 174 }); 175 176 if($jj('ul#ban2').is(':hidden')){ 177 $jj('div.sidebg').addClass('ban2_bg'); 178 }else{ 179 $jj('div.sidebg').removeClass('ban2_bg'); 180 } 181 182 $jj('div.sidelist ul.ban').each(function(){ 183 if($jj(this).attr('id').match(link_obj)){ 184 $jj(this).show(); 185 } else { 186 $jj(this).hide(); 187 } 188 }); 189 190 }); 191 192 //language 193 $jj('div.util ul li:nth-child(5)').click(function(){ 194 $jj('div.lang').slideToggle('fast'); 195 }); 196 197 198 // family site 199 /* 200 $jj(".openlayer").click(function(){ 201 $jj(".familySite .box,.familySite_main .box").animate({"opacity":"1"},"fast").show(); 202 $jj(".liner li:first .view").animate({"opacity":"1"}); 203 return false; 204 }); 205 $jj(".familySite .close,.familySite_main .close").click(function(){ 206 $jj(".familySite .box,.familySite_main .box").animate({"opacity":"0"},"fast").hide(); 207 $jj(".fm").removeClass("on"); 208 $jj(".liner li .view").animate({"opacity":"0"}); 209 $jj(".liner li:first a").addClass("on"); 210 $jj(".liner li:first .view").animate({"opacity":"1"}); 211 return false; 212 }); 213 214 $jj(".fm").click(function(){ 215 $jj(".fm").removeClass("on"); 216 $jj(this).addClass("on"); 217 $jj(".view").animate({"opacity":"0"}); 218 $jj(this).next().animate({"opacity":"1"}); 219 return false; 220 }); 221 */ 222 $jj(".openlayer").click(function(){ 223 $jj(".familySite .box,.familySite_main .box").animate({"opacity":"1"},"fast").show(); 224 //$jj(".liner li:first .view").animate({"opacity":"1"}); 225 return false; 226 }); 227 $jj(".familySite .close,.familySite_main .close").click(function(){ 228 $jj(".familySite .box,.familySite_main .box").hide(); 229 $jj(".fm").removeClass("on"); 230 $jj(".liner li .view").hide(); 231 $jj(".liner li:first a").addClass("on"); 232 $jj(".liner li:first .view").show(); 233 return false; 234 }); 235 236 $jj(".familySite_main .fm,.familySite .fm").click(function(){ 237 $jj(".familySite_main .on,.familySite .on").next('.view').show(); 238 $jj(this).next('.view').show(); 239 $jj(this).parent().siblings().children('.view').hide(); 240 $jj(this).addClass("on"); 241 $jj(this).parent().siblings().children().removeClass("on"); 242 return false; 243 }); 244 $jj(".familySite_main ul:nth-child(1) .fm,.familySite ul:nth-child(1) .fm").click(function(){ 245 $jj('.familySite_main ul:nth-child(2),.familySite ul:nth-child(2)').children().children('a').removeClass("on"); 246 $jj('.familySite_main ul:nth-child(2),.familySite ul:nth-child(2)').children().children('.view').hide(); 247 }); 248 $jj(".familySite_main ul:nth-child(2) .fm,.familySite ul:nth-child(2) .fm").click(function(){ 249 $jj('.familySite_main ul:nth-child(1),.familySite ul:nth-child(1)').children().children('a').removeClass("on"); 250 $jj('.familySite_main ul:nth-child(1),.familySite ul:nth-child(1)').children().children('.view').hide(); 251 }); 252 253 254 //layer_popup 255 /*$jj('span[class*=btn] a , [class*=state] a , [class*=subject] a , a.layer , input.layer').bind('click', function(event){ 256 event.preventDefault(); 257 var layer_obj = $jj(this).attr('href').replace('#','');*/ 258 259 //layer_popup 2013-02-26 ìì 260 $jj('span[class*=btn] a , [class*=state] a , [class*=subject] a , a.layer , input.layer').bind('click', function(event){ 261 event.preventDefault(); 262 var layer_obj = $jj(this).attr('href').replace('#',''); 263 264 if(this.id == 'mms_send' || this.id == 'email_send'){ 265 var frm = document.frm; 266 var cnt = 0; 267 if(typeof(frm.chkCoupon) == 'undefined' || frm.chkCoupon.length < 1 ){ 268 return; 269 } 270 271 if(frm.chkCoupon.length > 1) { 272 for (i=0; i<frm.chkCoupon.length ; i++) 273 { 274 if(frm.chkCoupon[i].checked == true) { 275 cnt++; 276 } 277 } 278 } 279 280 if(cnt == 0) { 281 return false; 282 } 283 284 } 285 $jj('div.popup').each(function(){ 286 if($jj(this).attr('id').match(layer_obj)){ 287 $jj(this).parent().css({height:$jj('window').height()}); 288 $jj(this).parent().fadeIn('fast'); 289 $jj(this).show(); 290 $jj(this).css({marginTop:- + $jj(this).height()/2}); 291 } else { 292 $jj(this).hide(); 293 } 294 }); 295 }); 296 297 $jj('div.popup a.btn_close, div.popup div.btn_ok span a').bind('click', function(){ 298 $jj('div.layer_bg').fadeOut('fast'); 299 }); 300 301 //ì¬ì´ëë©ë´ 302 var w_body = $jj('body').width(); 303 $jj(window).resize(function(){ 304 if ( $jj(window).width() < 1225) { 305 $jj('.tab li a').toggle(function(){ 306 $jj('.right_link, .sidebg, .sidemenu').css('right','0px'); 307 }, function(){ 308 $jj('.right_link, .sidebg, .sidemenu').css('right','-190px'); 309 }); 310 } 311 }); 312
313 //ê³ ê°ì¼í° FAQ 314 315 $jj('div.faq_list ul.category li a').bind('click', function(event){ 316 event.preventDefault(); 317 var faq_obj = $jj(this).attr('href').replace('#',''); 318 $jj(this).parent().addClass('current'); 319 $jj(this).parent().siblings().removeClass('current'); 320 321 $jj('div.faq_list ul.con').each(function(){ 322 if($jj(this).attr('id').match(faq_obj)){ 323 $jj(this).show(); 324 } else { 325 $jj(this).hide(); 326 } 327 }); 328 }); 329 330 $jj('div.faq_list ul.con li').bind('mouseenter', function(event){ 331 $jj(this).addClass('current'); 332 $jj(this).find('img').attr('src', $jj(this).find('img').attr('src').replace('_off', '_on')); 333 334 }); 335 $jj('div.faq_list ul.con li').bind('mouseleave', function(event){ 336 $jj(this).removeClass('current'); 337 $jj(this).find('img').attr('src', $jj(this).find('img').attr('src').replace('_on', '_off')); 338 }); 339 340 341 //FAQ 342 $jj(".faq_type01 dt").click(function(){ 343 var count =1; 344 if(count == 1){ 345 $jj(".faq_type01 dt").removeClass("current"); 346 $jj(".faq_type01 dt").next().css("display","block"); 347 $jj(".faq_type01 dd").css("display","none"); 348 $jj(this).addClass("current"); 349 $jj(this).next().css("display","block"); 350 count = 0; 351 }else{ 352 $jj(".faq_type01 dt").removeClass("current"); 353 $jj(".faq_type01 dd").css("display","none"); 354 count = 1; 355 } 356 }); 357 358 // login_layer 359 $jj('.id-label, .pass-label').animate({ opacity: "0.4" }) 360 .click(function() { 361 var thisFor = $jj(this).attr('for'); 362 $jj('.'+thisFor).focus(); 363 }); 364 $jj('.layer_id').focus(function() { 365 $jj('.id-label').animate({ opacity: "0" }, "fast"); 366 if($jj(this).val() == "layer_id") 367 $jj(this).val() == ""; 368 }).blur(function() { 369 if($jj(this).val() == "") { 370 $jj(this).val() == "layer_id"; 371 $jj('.id-label').animate({ opacity: "0.4" }, "fast"); 372 } 373 }); 374 $jj('.layer_pass').focus(function() { 375 $jj('.pass-label').animate({ opacity: "0" }, "fast"); 376 if($jj(this).val() == "layer_pass") { 377 $jj(this).val() == ""; 378 } 379 }).blur(function() { 380 if($jj(this).val() == "") { 381 $jj(this).val() == "layer_pass"; 382 $jj('.pass-label').animate({ opacity: "0.4" }, "fast"); 383 } 384 }); 385 386 // gnb 387 388 function initGnb() { 389 $jj('#gnb > ul > li').bind('mouseenter focusin',function(){ 390 $jj(this).children().show(); 391 $jj('.sidemenu').css('z-index','1'); 392 $jj(this).siblings().children('.sub_wrap').hide(); 393 //$jj('#gnb').css({'background':'#fff','height':'454px','border-bottom':'1px solid #d3d3d3'}); 394 //$jj('.gnb_menu > li').css('padding-bottom','390px'); 395 // IE6 width 100% 396 if(navigator.userAgent.match('MSIE 6')) { 397 var winw = document.documentElement.offsetWidth - 17; 398 $jj(this).find('.sub_wrap').css('width',winw); 399 } 400 $jj(this).addClass('on'); 401 //$jjobj = $jj(this).find('a > img'); 402 $jj('#gnb li.on .subinfo').show(); 403 }); 404 $jj('#gnb > ul > li').bind('mouseleave',function(){ 405 $jj(this).removeClass('on'); 406 $jj('#gnb .sub_wrap').hide(); 407 $jj('.sidemenu').css('z-index','11'); 408 $jj('#gnb').css({'background':'none','height':'80px','border-bottom':'none'}); 409 $jj('.gnb_menu > li').css('padding-bottom','10px'); 410 $jj('#gnb li .subinfo').hide(); 411 }); 412 } 413 414 $jj('.m6').focusin(function(){ 415 $jj('.sub_wrap').hide(); 416 }); 417 418 // snb 419 function initSnb() { 420 $jj('#snb ul').hide(); 421 $jj('#snb a').focus(function() {$jj(this).blur();}); 422 $jj('#snb li.current ul').slideDown('slow'); 423 $jj('#snb li > a').click(function(){ 424 //$jj(this).parent().siblings().find('ul').hide(); 425 $jj(this).parent().siblings().removeClass('current'); 426 //$jj(this).siblings().slideDown(); 427 $jj(this).parent().addClass('current'); 428 }); 429 430 $jj('#snb li > a').click(function(){ 431 $jj(this).parent().siblings().find('ul').hide(); 432 $jj(this).parent().siblings().removeClass('current'); 433 $jj(this).siblings().slideDown('slow'); 434 $jj(this).parent().addClass('current'); 435 }); 436 } 437 438//ë¦¬ì¡°í¸ ì í 439 $jj('div.resort div.depth2').hide(); 440 $jj('div.resort ul.depth1 li a').bind('click', function(event){ 441 event.preventDefault(); 442 var r_obj = $jj(this).attr('href').replace('#',''); 443 444 $jj('div.resort ul.depth1 li.current div').show(); 445 $jj(this).parent().siblings().removeClass('current'); 446 $jj(this).parent().addClass('current'); 447 448 $jj('div.resort_detail').each(function(){ 449 if($jj(this).attr('id') ==(r_obj)){ 450 $jj(this).show(); 451 } else { 452 $jj(this).hide(); 453 } 454 }); 455 456 }); 457 458 $jj('div.resort ul.depth1 li a').click(function(){ 459 $jj(this).parent().siblings().find('div').hide(); 460 $jj(this).parent().siblings().removeClass('current'); 461 $jj(this).siblings().show(); 462 $jj(this).parent().addClass('current'); 463 }); 464 465 //link_site 466 $jj('div.link_site div.link_select').bind('mouseenter focusin',function(){ 467 $jj('ul.link_list').show(); 468 }); 469 $jj('ul.link_list').bind('mouseleave',function(){ 470 $jj(this).hide(); 471 }); 472 $jj('#header h1 a, .r_site li:last-child').bind('focusin',function(){ 473 $jj('ul.link_list').hide(); 474 }); 475 476 477//family tab 478 $jj('.family_site ul li > a').bind('click', function(){ 479 var obj = $jj(this).attr('href').replace('#',''); 480 481 $jj(this).parent().siblings().removeClass('current'); 482 $jj(this).parent().addClass('current'); 483 $jj(this).next().each(function(){ 484 if($jj(this).attr('id').match(obj)){ 485 $jj(this).show(); 486 } else { 487 $jj(this).hide(); 488 } 489 }); 490 }); 491 492 493 //tabtoggle 494 $jj('.event_tab ul li > a').bind('click', function(event){ 495 event.preventDefault(); 496 var tab_togg = $jj(this).attr('href').replace('#',''); 497 $jj(this).parent().addClass('current'); 498 $jj(this).parent().siblings().removeClass('current'); 499 500 $jj('div.tab_con').each(function(){ 501 if($jj(this).attr('id').match(tab_togg)){ 502 $jj(this).show(); 503 } else { 504 $jj(this).hide(); 505 } 506 }); 507 }); 508 509 //popup í 510 $jj('.w100 li a').bind('click',function(){ 511 $jj(this).parent().addClass('current'); 512 $jj(this).parent().siblings().removeClass('current'); 513 }); 514 515 $jj('.w100 li:nth-child(1) a').click(function(){ 516 $jj('.hall_img img:nth-child(1)').addClass('view'); 517 $jj('.hall_img img:nth-child(1)').siblings().removeClass('view'); 518 }); 519 520 $jj('.w100 li:nth-child(2) a').click(function(){ 521 $jj('.hall_img img:nth-child(2)').addClass('view'); 522 $jj('.hall_img img:nth-child(2)').siblings().removeClass('view'); 523 }); 524 525 $jj('.w100 li:nth-child(3) a').click(function(){ 526 $jj('.hall_img img:nth-child(3)').addClass('view'); 527 $jj('.hall_img img:nth-child(3)').siblings().removeClass('view'); 528 }); 529 530 $jj('.w100 li:nth-child(4) a').click(function(){ 531 $jj('.hall_img img:nth-child(4)').addClass('view'); 532 $jj('.hall_img img:nth-child(4)').siblings().removeClass('view'); 533 }); 534 535 //
536 var close = $jj('a.btn_close'); 537 $jj(close).attr('href','#none'); 538 539 //qrv ë§µ 540 $jj('ul.depth1 li:nth-child(1)').click(function(){ 541 $jj('.thum_del').show(); 542 $jj('.thum_del').siblings().hide(); 543 }); 544 $jj('ul.depth1 li:nth-child(2)').click(function(){ 545 $jj('.thum_viv').show(); 546 $jj('.thum_viv').siblings().hide(); 547 }); 548 $jj('ul.depth1 li:nth-child(3)').click(function(){ 549 $jj('.thum_sono').show(); 550 $jj('.thum_sono').siblings().hide(); 551 }); 552 $jj('ul.depth1 li:nth-child(4)').click(function(){ 553 $jj('.thum_yp').show(); 554 $jj('.thum_yp').siblings().hide(); 555 }); 556 $jj('ul.depth1 li:nth-child(5)').click(function(){ 557 $jj('.thum_gj').show(); 558 $jj('.thum_gj').siblings().hide(); 559 }); 560 $jj('ul.depth1 li:nth-child(6)').click(function(){ 561 $jj('.thum_dy').show(); 562 $jj('.thum_dy').siblings().hide(); 563 }); 564 $jj('ul.depth1 li:nth-child(7)').click(function(){ 565 $jj('.thum_sol').show(); 566 $jj('.thum_sol').siblings().hide(); 567 }); 568 $jj('ul.depth1 li:nth-child(8)').click(function(){ 569 $jj('.thum_jj').show(); 570 $jj('.thum_jj').siblings().hide(); 571 }); 572 $jj('ul.depth1 li:nth-child(9)').click(function(){ 573 $jj('.thum_bs').show(); 574 $jj('.thum_bs').siblings().hide(); 575 }); 576 $jj('ul.depth1 li:nth-child(10)').click(function(){ 577 $jj('.thum_ys').show(); 578 $jj('.thum_ys').siblings().hide(); 579 }); 580 $jj('ul.depth1 li:nth-child(11)').click(function(){ 581 $jj('.thum_ch').show(); 582 $jj('.thum_ch').siblings().hide(); 583 }); 584 585 // ê°ì¤ìì½ ê°¤ë¬ë¦¬ 586 $jj('.rv_gal li a').bind('click',function(){ 587 $jj(this).prev('.ab').fadeIn('fast'); 588 $jj(this).parent().siblings().children('.ab').fadeOut('fast'); 589 $jj(this).after('<div class="on_frame"></div>'); 590 $jj(this).parent().addClass('on'); 591 $jj(this).parent().siblings().removeClass('on'); 592 }); 593 $jj('.rv_gal li.on a').after('<div class="on_frame"></div>'); 594 595}); 596 597 598$jj(document).ready(function() { 599 // right layer resize 600 var bHeight = $jj("body").height(); 601 var layerHeight = $jj(".layerCnt"); 602 603 if(bHeight < 850){ 604 layerHeight.css({"height":"850px"}); 605 }else{ 606 layerHeight.height(bHeight - 45); 607 } 608 609 // right layer tab 610 $jj(".tab a").click(function(){ 611 $jj(".tab a").removeClass("on"); 612 $jj(this).addClass("on"); 613 }); 614 615 // tabBox tab 616 $jj(".tabBox a").click(function(){ 617 $jj(this).parent().addClass("current"); 618 $jj(this).parent().siblings().removeClass("current"); 619 return false; 620 }); 621}); 622 623 624function btnLayer(num){ 625 626 var boxlayer = $jj("#movLayer"); 627 628 if($jj('#layerTab'+num).css("display")=="block"){ 629 boxlayer.stop().animate({"margin-right":"-380px"},'easeInOutBack', function(){ 630 $jj(".vlayer").css({"display":"none"}); 631 $jj(".tab a").removeClass("on"); 632 }); 633 }else{ 634 if($jj('#layerTab1').css("display")=="none" && $jj('#layerTab2').css("display")=="none"){ 635 boxlayer.stop().animate({"margin-right":"0"},'easeInOutElastic'); 636 $jj("#layerTab"+num).css({"display":"block"}); 637 }else{ 638 boxlayer.stop().animate({"margin-right":"-380px"},'easeInOutBack', function(){ 639 $jj(".vlayer").css({"display":"none"}); 640 boxlayer.stop().animate({"margin-right":"0"},'easeInOutElastic'); 641 $jj("#layerTab"+num).css({"display":"block"}); 642 }); 643 } 644 } 645} 646 647var $ = jQuery.noConflict();
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.