1//=========»Ì¼®ì=======// 2 3// EBhEì ================================================ 4//@TuEBhE\¦ ---------------------------------- 5function MM_openBrWindow(theURL, winName, features) { //v2.0 6 window.open(theURL, winName, features); 7} 8 9//@OAEgæÊJÚ ---------------------------------- 10function logoff(theURL) { 11 window.open(theURL, "_self"); 12 //theURLFOAEgæÊURL 13} 14 15// J_[®ì =================================================================== 16// `FbN{bNXp ---------------------------------- 17function calenderDis(checkbox) { 18 $('span#calender select').attr('disabled', !$(checkbox).prop('checked')); 19} 20 21// J_[C[\¦ ---------------------------------- 22$(function() { 23 $("#calenderFrame").css("display", "none"); 24 25 $('a.calender').on("click",function() { 26 var eElements = $(this).parent('span').children('select.clset'); 27 var offset = eElements.offset(); 28 var ht = eElements.height(); 29 if(typeof document.body.style.maxHeight === "undefined") { 30 $("body").append("<iframe id='TB_HideSelect'></iframe><div id='CL_overlay'></div>"); 31 } else { 32 $("body").append("<div id='CL_overlay'></div>"); 33 } 34// if(jQuery.browser.msie) { 35 if(!!window.ActiveXObject||"ActiveXObject" in window) { 36 $("#CL_overlay").css({"background-color": "#FFFFFF", filter: "alpha(opacity=0)", opacity: "0"}); 37 } 38 39 var height = $("#calenderFrame").height(); 40 var width = $("#calenderFrame").width(); 41 $("#calenderHTML").height(height+14+"px"); 42 $("#calenderHTML").width(width); 43 44 var left = offset.left + "px"; 45 var top = ht + offset.top + 2 + "px"; 46 $("#calenderFrame").css("left", left); 47 $("#calenderFrame").css("top", top); 48 $("#calenderFrame").css("display", "block"); 49 $("#calenderFrame").css("position", "absolute"); 50 51// if (jQuery.browser.msie && jQuery.browser.version < 7) { // IE6 52// left = offset.left + "px"; 53// top = ht + offset.top + 4 + "px"; 54// $("#calenderFrame").css("left", left); 55// $("#calenderFrame").css("top", top); 56// } 57 58 $('#CL_overlay').on("click",function() { 59 $("#calenderFrame").css("display", "none"); 60 $("#CL_overlay").remove(); 61 $("#TB_HideSelect").remove(); 62 }); 63 }); 64 65 $('a.btnClose').on("click",function() { 66 $("#calenderFrame", window.parent.document).css("display", "none"); 67 $("#CL_overlay", window.parent.document).remove(); 68 $("#TB_HideSelect", window.parent.document).remove(); 69 return false; 70 }); 71 72 $('#calenderLayer a').on("click",function() { 73 $("#calenderFrame", window.parent.document).css("display", "none"); 74 $("#CL_overlay", window.parent.document).remove(); 75 $("#TB_HideSelect", window.parent.document).remove(); 76 return false; 77 }); 78}); 79 80 81// ÇÝÝ`FbN =================================================================== 82//@PDFt@CÌNðNbNµ½©Ç¤© 83function ckboxDis(tageId) { 84 $("#" + tageId).attr("disabled", false); 85 } 86 87// üÍEIðÂÛ =================================================================== 88//@`FbN{bNXi`FbNªüêÎüÍEIðÂ\j ------------------------------ 89$(function() { 90 $('input.ckboxDisT').on("click",function() { 91 eElements = $(this).parents('.ckDt').children('input').get(); 92 size = eElements.length; 93 if(eElements[0].disabled) { 94 for (i = 0; i < size; i++) { 95 eElements[i].disabled = false; 96 $(this).parents('.ckDt').children("input:text").addClass("def"); 97 $(this).parents('.ckDt').children("input:text").removeClass("defdisN"); 98 } 99 eElements[0].focus(); 100 } else { 101 for (i = 0; i < size; i++) { 102 eElements[i].disabled = true; 103 $(this).parents('.ckDt').children("input:text").addClass("defdisN"); 104 $(this).parents('.ckDt').children("input:text").removeClass("def"); 105 } 106 eElements[0].blur(); 107 } 108 }); 109}); 110 111//@`FbN{bNXi`FbNªüêÎ{^@NbNÂ\j------------------------------ 112function chkBtn(ckboxListID, btnListID) { //v1.00 113 var ckboxList = $(ckboxListID); 114 var btnList = $(btnListID); 115 var len = ckboxList.length; 116 var chkedLen = 0; 117 118 ckboxList.on("click",function() { 119 chkedLen = $(ckboxListID).filter(':checked').length; 120 if(len == chkedLen) { 121 btnList.each(function() {
122 $(this).prop("disabled",false); 123 $(this).removeClass("btnMain1Mdis"); 124 $(this).addClass("btnMain1M"); 125 }); 126 //btnList[btnList.length - 1].focus(); 127 } else { 128 btnList.each(function() { 129 $(this).attr("disabled", "disabled"); 130 $(this).removeClass("btnMain1M"); 131 $(this).addClass("btnMain1Mdis"); 132 }); 133 } 134 }); 135} 136 137//@WI{^LøE³øØèÖ¦ ---------------------------------- 138$(function() { 139 $('input.radioDisT').on("click",function() { 140 ckIndex = $('.radioDisT').index(this); 141 inputElements = $('.ckDt:eq(' + ckIndex + ')').find('input').get(); 142 selectElements = $('.ckDt:eq(' + ckIndex + ')').find('select').get(); 143 disIElements = $('.ckDt').find('input').not('input.radioDisT').get(); 144 disSElements = $('.ckDt').find('select').get(); 145 disIElementssize = disIElements.length; 146 disSElementssize = disSElements.length; 147 inputsize = inputElements.length; 148 selectsize = selectElements.length; 149 for (i = 0; i < disIElementssize; i++) { 150 $('.ckDt').find('input:text').addClass("defdisN"); 151 $('.ckDt').find('input:text').removeClass("def"); 152 disIElements[i].disabled = true; 153 } 154 for (i = 0; i < disSElementssize; i++) { 155 disSElements[i].disabled = true; 156 } 157 for (i = 0; i < inputsize; i++) { 158 $('.ckDt:eq(' + ckIndex + ')').find('input:text').addClass("def"); 159 $('.ckDt:eq(' + ckIndex + ')').find('input:text').removeClass("defdisN"); 160 inputElements[i].disabled = false; 161 inputElements[0].focus(); 162 } 163 for (i = 0; i < selectsize; i++) { 164 selectElements[i].disabled = false; 165 } 166 }); 167}); 168 169// e[uwiÝè =================================================================== 170// typeAEtypeEe[usFϦ -------------------------- 171$(function() { 172 $('table.typeE tr:even').addClass('even-row'); 173 $('table.typeE tr:odd').addClass('odd-row'); 174 $('table.typeE td.disTd').addClass('disTd'); 175}); 176 177// msgBoxEnewsBoxe[usFϦj --------------------- 178$(function() { 179 $('div.msgBox table.typeE tr:even').addClass('odd-row2'); 180 $('div.msgBox table.typeE tr:odd').addClass('even-row2'); 181 $('div.newsBox table.typeE tr:even').addClass('odd-row2'); 182 $('div.newsBox table.typeE tr:odd').addClass('even-row2'); 183}); 184 185// typeE2iA^Cvje[usFϦj ---------------- 186$(function() { 187 $('table.typeE2 tr:nth-child(4n+1)').addClass('even-row'); 188 $('table.typeE2 tr:nth-child(4n+2)').addClass('even-row'); 189 $('table.typeE2 tr:nth-child(4n+3)').addClass('odd-row'); 190 $('table.typeE2 tr:nth-child(4n+4)').addClass('odd-row'); 191}); 192 193// typeE4iA^Cvje[usFϦj ---------------- 194$(function() { 195 $('table.typeE4 tr:nth-child(6n+1)').addClass('even-row'); 196 $('table.typeE4 tr:nth-child(6n+2)').addClass('even-row'); 197 $('table.typeE4 tr:nth-child(6n+3)').addClass('even-row'); 198 $('table.typeE4 tr:nth-child(6n+4)').addClass('odd-row'); 199 $('table.typeE4 tr:nth-child(6n+5)').addClass('odd-row'); 200 $('table.typeE4 tr:nth-child(6n+6)').addClass('odd-row'); 201}); 202 203// typeE6iA^Cvje[usFϦj ---------------- 204$(function() { 205 $('table.typeE6 tr:nth-child(8n+1)').addClass('even-row'); 206 $('table.typeE6 tr:nth-child(8n+2)').addClass('even-row'); 207 $('table.typeE6 tr:nth-child(8n+3)').addClass('even-row'); 208 $('table.typeE6 tr:nth-child(8n+4)').addClass('even-row'); 209 $('table.typeE6 tr:nth-child(8n+5)').addClass('odd-row'); 210 $('table.typeE6 tr:nth-child(8n+6)').addClass('odd-row'); 211 $('table.typeE6 tr:nth-child(8n+7)').addClass('odd-row'); 212 $('table.typeE6 tr:nth-child(8n+8)').addClass('odd-row'); 213}); 214 215//@typeB,typeBwide P[@G[dlFqÚdl@eÚwiF ------------------------------ 216$(function() { 217 218 $('table.typeB').each(function(i){ 219 220 thEl = new Array; 221 tdEl = new Array; 222 $(this).find('tr').each(function(index){ 223 thEl[index] = $(this).children('th').not('thead th').length; 224 tdEl[index] = $(this).children('td').not('thead th').length; 225 }); 226 227 thElSum = Math.max.apply(null,thEl); 228 tdElSum = Math.max.apply(null,tdEl); 229 230 $(this).find('tr.err').each(function(){ 231 thSum = $(this).children('th').not('thead th').length; 232 tdSum = $(this).children('td').not('thead th').length; 233 if(tdSum == tdElSum){ 234 if(thSum == thElSum){ 235 $(this).children('th[rowSpan!="1"]:eq(0)').addClass('th-fix'); 236 } 237 } 238 });
239 240 }); 241 242 243 $('table.typeBwide').each(function(i){ 244 245 thEl = new Array; 246 tdEl = new Array; 247 $(this).find('tr').each(function(index){ 248 thEl[index] = $(this).children('th').not('thead th').length; 249 tdEl[index] = $(this).children('td').not('thead th').length; 250 }); 251 252 thElSum = Math.max.apply(null,thEl); 253 tdElSum = Math.max.apply(null,tdEl); 254 255 $(this).find('tr.err').each(function(){ 256 thSum = $(this).children('th').not('thead th').length; 257 tdSum = $(this).children('td').not('thead th').length; 258 if(tdSum == tdElSum){ 259 if(thSum == thElSum){ 260 $(this).children('th[rowSpan!="1"]:eq(0)').addClass('th-fix'); 261 } 262 } 263 }); 264 265 }); 266}); 267 268 269 270// eLXgGAwiF ---------------------------------- 271$(function() { 272 $("input.def").on("focus",function() { $(this).addClass("fcsov"); }); 273 $("textarea.def").on("focus",function() { $(this).addClass("fcsov"); }); 274 $("input.def").on("blur",function() { $(this).removeClass("fcsov"); }); 275 $("textarea.def").on("blur",function() { $(this).removeClass("fcsov"); }); 276 $("input.defdisN").on("focus",function() { $(this).addClass("fcsov"); }); 277 $("textarea.defdisN").on("focus",function() { $(this).addClass("fcsov"); }); 278 $("input.defdisN").on("blur",function() { $(this).removeClass("fcsov"); }); 279 $("textarea.defdisN").on("blur",function() { $(this).removeClass("fcsov"); }); 280}); 281 282// t@CAbv[hó« --------------------- 283$(function() { 284 $('input:file').addClass('fileupload'); 285}); 286 287// O[oj [wiÝè =================================================================== 288// j [}EXI[o[wiF 289$(function() { 290 $("ul.categoryitems li.menuheader").on("mouseenter",function() { $(this).addClass("onheader"); }).on("mouseleave", function() { $(this).removeClass("onheader"); }); 291}); 292 293 294// ÇÒj [æÊ@j [}EXI[o[wiF 295$(function() { 296 $("#admin ul div.menuheader").on("mouseenter",function() { $(this).addClass("onheader"); }).on("mouseleave", function() { $(this).removeClass("onheader"); }); 297}); 298 299// ¤iET[rXê =================================================================== 300// úl 301var swd = 0; 302// ¤iET[rXê³æ¾ 303function GetHeight(ID, NAME) { 304 if ($(document).height()) { 305 var tagLn = $(window.frames[NAME].document).contents().find("dl").length; 306 var swd = tagLn*200 + 60; 307 var width = swd + 0 + "px"; 308 var border = $("#sitemappanel").css("border-right-width").substring(0,$("#sitemappanel").css("border-right-width").length-2); 309 var left = -swd - 2 * border -1 + "px"; 310 $("#" + ID).css("width", width); 311 $("#sitemappanel").css("width", width); 312 $("#sitemappanel").css("left", left); 313 var height = $("#" + ID).get(0).contentWindow.document.documentElement.scrollHeight + 0 + "px"; 314 $("#" + ID).css("height", height); 315 } else { 316 // IE 6.0 Èã Ü½Í Gecko ÈÇ_uEU[ 317 var dlwd = parent.frames[NAME].document.body.scrollWidth; 318 var tagLn = parent.frames[NAME].document.body.getElementsByTagName('dl').length; 319 var swd = tagLn*200 + 50; 320 var height = parent.frames[NAME].document.body.scrollHeight + 0 + "px"; 321 var width = swd + 0 + "px"; 322 var border = $("#sitemappanel").css("border-right-width").substring(0,$("#sitemappanel").css("border-right-width").length-2); 323 var left = "-" + swd - 2 * border -1 + "px"; 324 $("#" + ID).css("height", height); 325 $("#" + ID).css("width", width); 326 $("#sitemappanel").css("width", width); 327 $("#sitemappanel").css("left", left); 328 } 329} 330 331// ¤iET[rXê\¦®ìÝè 332$(function() { 333 var mtoggle = 0; 334 $("#sitemapmenu").on("click",function () { 335 $("#sitemappanel").animate({left:"0px"}, 400, "easeInQuad"); 336 $("#lay_bg").animate({left:"0px"}, 400, "easeInQuad"); 337 }); 338}); 339 340// ¤iET[rXêN[Y®ìÝè 341$(function() { 342 var mtoggle = 0; 343 $("#closesitemap").on("click",function () { 344 var border = $("#sitemappanel").css("border-right-width").substring(0,$("#sitemappanel").css("border-right-width").length-2); 345 var swd = parent.frames["sitemap"].document.body.scrollWidth + 2 * border + 1; 346 $("#sitemappanel").animate({left:"-" + swd}, 200); 347 $("#lay_bg").animate({left:"-" + swd + "px"}, 200); 348 }); 349}); 350 351// `FbN{bNX ================================================= 352// SIðFflagl=trueASðFflaglfalse 353function allcheck(flag) { 354 $("input[type='checkbox']").prop("checked", flag); 355} 356 357// WI{^E`FbN{bNXó«²® ---------------------------------- 358$(function($) { 359 $("form :radio").addClass("inputPd"); 360 $("form :checkbox").addClass("inputPd"); 361}); 362
363// EBhE^C}[iN[Yj ======================================================== 364function windowtimer() { 365 CloseWindow = setTimeout ('wClose()', 99000); 366} 367 368function wClose() { 369 window.close(); 370 clearTimeout('CloseWindow'); 371} 372 373// j [WJÝè ======================================================== 374// j [æñKwWJÝè ---------------------------------- 375function menuexpand(headerclass, contentclass, num) { 376 var menu1_1 = "expandable"; 377 var menu1_2 = "categoryitems"; 378 ddaccordion.init({ 379 headerclass: headerclass, 380 contentclass: contentclass, 381 revealtype: "click", 382 mouseoverdelay: 200, 383 collapseprev: false, 384 defaultexpanded: [num], 385 onemustopen: false, 386 animatedefault: false, 387 persiststate: false, 388 toggleclass: ["", "openheader"], 389 togglehtml: ["prefix", "", ""], 390 animatespeed: "normal", 391 oninit:function(headers, expandedindices) { 392 }, 393 onopenclose:function(header, index, state, isuseractivated) { 394 } 395 }) 396} 397 398// j [æOKwWJÝè ---------------------------------- 399function third_menu(num) { 400 var menu1_1 = "expandable3"; 401 var menu1_2 = "categoryitems3"; 402 ddaccordion.init({ 403 headerclass: menu1_1, 404 contentclass: menu1_2, 405 revealtype: "click", 406 mouseoverdelay: 200, 407 collapseprev: false, 408 defaultexpanded: [num], 409 onemustopen: false, 410 animatedefault: false, 411 persiststate: false, 412 toggleclass: ["", "openheader"], 413 togglehtml: ["prefix", "", ""], 414 animatespeed: "normal", 415 oninit:function(headers, expandedindices) { 416 }, 417 onopenclose:function(header, index, state, isuseractivated) { 418 } 419 }) 420} 421 422// LGAWJÝè ---------------------------------- 423function adlist(headerclass, contentclass, num) { 424 ddaccordion.init({ 425 headerclass: headerclass, 426 contentclass: contentclass, 427 revealtype: "click", 428 mouseoverdelay: 200, 429 collapseprev: true, 430 defaultexpanded: [], 431 onemustopen: false, 432 animatedefault: false, 433 persiststate: false, 434 toggleclass: ["", "openheader"], 435 togglehtml: ["prefix", "", ""], 436 animatespeed: "normal", 437 oninit:function(headers, expandedindices) { 438 }, 439 onopenclose:function(header, index, state, isuseractivated) { 440 } 441 }) 442} 443 444// RecWJÝè ---------------------------------- 445function cntexpand(headerclass, contentclass, num) { 446 ddaccordion.init({ 447 headerclass: "expandabletitle", 448 contentclass: "items", 449 revealtype: "click", 450 mouseoverdelay: 200, 451 collapseprev: false, 452 defaultexpanded: [0], 453 onemustopen: false, 454 animatedefault: false, 455 persiststate: false, 456 toggleclass: ["menuhead", "openhead"], 457 togglehtml: ["prefix", "", ""], 458 animatespeed: "normal", 459 oninit:function(headers, expandedindices) { 460 }, 461 onopenclose:function(header, index, state, isuseractivated) { 462 } 463 }) 464} 465 466// R{{bNXðeLXg{bNXÌA®-------------- 467function setTextState(sourceSelect, combValue) { 468 $(sourceSelect).each(function() { 469 if ($(this).val() == combValue) { 470 $(this).next().addClass("defdisN"); 471 $(this).next().removeClass("def"); 472 $(this).next().attr("disabled", "disable"); 473 $(this).trigger("blur"); 474 } else { 475 $(this).next().addClass("def"); 476 $(this).next().removeClass("defdisN"); 477 $(this).next().prop("disabled",false); 478 $(this).trigger("focus"); 479 } 480 }); 481} 482 483// pX[hæªZbg 484function setLoginFlg(loginFlg) { 485 window.document.getElementById("loginFlag").value = loginFlg; 486} 487 488// L[{[hC[\¦ippj ---------------------------------- 489$(function() { 490 $('.keyboard').on("click",function() { 491 if ($(this).parent().children("input").prop("disabled")) { 492 return; 493 } 494 var keyboardFrame; 495 var keyboardLayer; 496 if ("keypad2" == $(this).attr("id")) { 497 keyboardFrame = "keyboardFrame2"; 498 keyboardLayer = "keyboardLayer2"; 499 } else { 500 keyboardFrame = "keyboardFrame1"; 501 keyboardLayer = "keyboardLayer1"; 502 } 503 var eElements = $(this).parent('td').children('input'); 504 var offset = eElements.offset(); 505 var ht = eElements.height(); 506 if (typeof document.body.style.maxHeight === "undefined") { 507 $("body").append("<iframe id='TB_HideSelect'></iframe><div id='CL_overlay'></div>"); 508 } else { 509 $("body").append("<div id='CL_overlay'></div>"); 510 } 511// if(jQuery.browser.msie) { 512 if(!!window.ActiveXObject||"ActiveXObject" in window) { 513 $("#CL_overlay").css({"background-color": "#FFFFFF", filter: "alpha(opacity=0)", opacity: "0"}); 514 } 515 var left = offset.left + "px"; 516 var top = ht + offset.top + 6 + "px"; 517 $("#" + keyboardLayer).css("left", left); 518 $("#" + keyboardLayer).css("top", top); 519 $("#" + keyboardLayer).css("display", "block"); 520 $("#" + keyboardLayer).css("position", "absolute"); 521// if(jQuery.browser.msie && jQuery.browser.version < 7) { // IE6 522// left = offset.left + "px"; 523// top = ht + offset.top + 6 + "px"; 524// $("#" + keyboardLayer).css("left", left); 525// $("#" + keyboardLayer).css("top", top); 526// } 527 var keySource = $(this).parent().children("input").attr("id"); 528 $("#keySource").prop("value", keySource); 529 keypadSet(keyboardFrame); 530 $("#CL_overlay").on("click",function() { 531 $("#" + keyboardLayer, window.parent.document).hide(); 532 $("#CL_overlay").remove(); 533 $("#TB_HideSelect", window.parent.document).remove(); 534 }); 535 }); 536 537 $('#keyboardLayer1 #close_DI201A0100').on("click",function() { 538 $(".keyboardLayer").css("display", "none"); 539 $("#CL_overlay").remove(); 540 $("#TB_HideSelect").remove(); 541 }); 542 543 $('#keyboardLayer2 #close_DI201A0200').on("click",function() { 544 $(".keyboardLayer").css("display", "none"); 545 $("#CL_overlay").remove(); 546 $("#TB_HideSelect").remove(); 547 }); 548 549 $('#keyboardLayer2 #close_DI201A0300').on("click",function() { 550 $(".keyboardLayer").css("display", "none"); 551 $("#CL_overlay").remove(); 552 $("#TB_HideSelect").remove(); 553 }); 554 555}); 556 557// \tgL[{[h\¦æÌØèÖ¦ ------------------------------- 558$(function() { 559 $(".keyboard").on("mouseover",function() { 560 var path = $(this).attr("src"); 561 var chrIdx = path.lastIndexOf("/"); 562 var subPath = path.substring(0, chrIdx + 1); 563 var fullPath = subPath + "co_icon_keyboad2ov.gif"; 564 $(this).attr("src", fullPath); 565 }); 566 567 $(".keyboard_num").on("mouseover",function() { 568 var path = $(this).attr("src"); 569 var chrIdx = path.lastIndexOf("/"); 570 var subPath = path.substring(0, chrIdx + 1); 571 var fullPath = subPath + "co_icon_keyboad2ov.gif"; 572 $(this).attr("src", fullPath); 573 }); 574 575 $(".keyboard").on("mouseout",function() { 576 var path = $(this).attr("src"); 577 var chrIdx = path.lastIndexOf("/"); 578 var subPath = path.substring(0, chrIdx + 1); 579 var fullPath = subPath + "co_icon_keyboad2.gif"; 580 $(this).attr("src", fullPath); 581 }); 582 583 $(".keyboard_num").on("mouseout",function() { 584 var path = $(this).attr("src"); 585 var chrIdx = path.lastIndexOf("/"); 586 var subPath = path.substring(0, chrIdx + 1); 587 var fullPath = subPath + "co_icon_keyboad2.gif"; 588 $(this).attr("src", fullPath); 589 }); 590}); 591function keypadSet(keyboardFrame) { 592 $("#" + keyboardFrame).contents().find("input[type='checkbox']").prop("checked", false); 593 $("#" + keyboardFrame).contents().find(".keypad-keyArea input").prop("value", " "); 594 $("#" + keyboardFrame).contents().find("#msg1").show(); 595 $("#" + keyboardFrame).contents().find("#msg2").hide(); 596 $("#" + keyboardFrame).contents().find("#msg3").show(); 597 $("#" + keyboardFrame).contents().find("#msg4").hide(); 598 var height = $("#" + keyboardFrame).contents().find("#keypad-div").height(); 599 var width = $("#" + keyboardFrame).contents().find("#keypad-div").width(); 600 $("#" + keyboardFrame).height(height + 2); 601 $("#" + keyboardFrame).width(width + 2); 602} 603 604// L[{[hC[\¦ipj---------------------------------- 605$(function() { 606 $('.keyboard_num').on("click",function() { 607 $(".inputcellnow").children("input").trigger("focus"); 608 var keyboardFrame; 609 var keyboardLayer; 610 if ("keypad2" == $(this).attr("id")) { 611 keyboardFrame = "keyboardFrame2"; 612 keyboardLayer = "keyboardLayer2"; 613 } else { 614 keyboardFrame = "keyboardFrame1"; 615 keyboardLayer = "keyboardLayer1"; 616 } 617 var eElements = $(this).parent('li'); // \¦Êu 618 var offset = eElements.offset(); 619 var ht = eElements.height(); 620 if (typeof document.body.style.maxHeight === "undefined") { 621 $("body").append("<iframe id='TB_HideSelect'></iframe><div id='CL_overlay'></div>"); 622 } else { 623 $("body").append("<div id='CL_overlay'></div>"); 624 } 625// if(jQuery.browser.msie) { 626 if(!!window.ActiveXObject||"ActiveXObject" in window) { 627 $("#CL_overlay").css({"background-color": "#FFFFFF", filter: "alpha(opacity=0)", opacity: "0"}); 628 } 629 var left = offset.left + 0 + "px"; // \¦Êu 630 var top = ht + offset.top + 4 + "px"; 631 $("#" + keyboardLayer).css("left", left); 632 $("#" + keyboardLayer).css("top", top); 633 $("#" + keyboardLayer).css("display", "block"); 634 $("#" + keyboardLayer).css("position", "absolute"); 635// if(jQuery.browser.msie && jQuery.browser.version < 7) { // IE6 636// left = offset.left + 7 + "px"; 637// top = ht + offset.top + 4 + "px"; 638// $("#" + keyboardLayer).css("left", left); 639// $("#" + keyboardLayer).css("top", top); 640// } 641 642 643 keypadSet(keyboardFrame); 644 $("#CL_overlay").on("click",function() { 645 $("#" + keyboardLayer, window.parent.document).hide(); 646 $("#CL_overlay").remove(); 647 $("#TB_HideSelect", window.parent.document).remove(); 648 }); 649 }); 650 651 $('#keyboardLayer1 #close_DI201A0100').on("click",function() { 652 $(".keyboardLayer").css("display", "none"); 653 $("#CL_overlay").remove(); 654 $("#TB_HideSelect").remove(); 655 }); 656 657 $('#keyboardLayer2 #close_DI201A0200').on("click",function() { 658 $(".keyboardLayer").css("display", "none"); 659 $("#CL_overlay").remove(); 660 $("#TB_HideSelect").remove(); 661 }); 662 663 $('#keyboardLayer2 #close_DI201A0300').on("click",function() { 664 $(".keyboardLayer").css("display", "none"); 665 $("#CL_overlay").remove(); 666 $("#TB_HideSelect").remove(); 667 }); 668 669}); 670 671// eLXg{bNX̼pXy[XðSpXy[XÉu· 672function repHanToZen(textname){ 673 674 if($("input[name='"+textname+"']").length != 0) { 675 var str = $("input[name='"+textname+"']").val().replace(/\s/gi,'@'); 676 $("input[name='"+textname+"']").val(str); 677 } 678 679} 680 681//X}[gtHTCgU±UI@wb_ã@\¦²®p ---------------------------------- 682$(function() { 683 if ($("div.sp").hasClass('img')) { 684 $('#index').addClass('spbody_img'); 685 $('#login').addClass('spbody_img'); 686 $('#sitemappanel').addClass('spbody_img'); 687 } 688 if ($("div.sp").hasClass('txt')) { 689 $('#sitemappanel').addClass('spbody_txt'); 690 } 691});
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.