1 /** 2 * ì¤ë²ë ì´ë¥¼ ìì±íë¤. 3 * @param {Object} overlayColor ì¤ë²ë ì´ì ìì 4 * @param {Object} zIndex ì¤ë²ë ì´ z-index 5 * @param {Object} overlayOpacity ì¤ë²ë ì´ ììì í¬ëª ë를 ê²°ì íë¤. (0ì ê°ê¹ì¸ìë¡ í¬ëª í : 0.0 - 1.0) 6 */ 7 function makeOverlay(overlayColor, zIndex, overlayOpacity) { 8 9 if (!this.overlay) { 10 this.overlay = $("<div id='overlay' class='overlay'></div>"); 11 this.overlay.css({ 12 "display" : "none", 13 "position" : "fixed", 14 "height" : "100%", 15 "width" : "100%", 16 "left" : "0", 17 "top" : "0", 18 "background" : overlayColor, 19 "z-index" : zIndex, 20 "opacity": overlayOpacity 21 }); 22 $('body').prepend(this.overlay); 23 } 24 } 25 26 // search address 27 function searchPost(url, division) { 28 $("#overlay").show(); 29 $("#addressSearchFrame").attr("width", "400"); 30 $("#addressSearchFrame").attr("height", "600"); 31 $("#addressSearchFrame").attr("src", url + "&division=" + division); 32 33 $("#addressSearchWrapper").css("width", 400);
34 $("#addressSearchWrapper").css("height", 600); 35 var wS = $(window).scrollTop(); 36 var wH = $(window).height(); 37 var lH = $("#addressSearchWrapper").height(); 38 var topMargin = wS + (wH / 2) - (lH / 2); 39 if (topMargin < 0) topMargin = 0; 40 41 $("#addressSearchWrapper").css("top", topMargin); 42 $("#addressSearchWrapper").css("left", $(window).width() / 2 - $("#addressSearchWrapper").width() / 2); 43 $("#addressSearchWrapper").show(); 44 } 45 46 /** 47 * íì´ì§(paging) 48 * @param link ëª©ë¡ link ì) ./list.9is?page=__id__&searchType=${searchType}&keyword=${keyword} 49 * @param total ë°ì´í° ì´ ê°ì 50 * @param page íì¬ íì´ì§ 51 * @param rowCount íì´ì§ë¹ ë°ì´í° ê°ì 52 */ 53 function initPaging(link, total, page, rowCount) { 54 var opts = { 55 'total_record' : total, 56 'current_page' : page, 57 'link_to' : link, 58 'prev_text' : "‹", 59 'next_text' : "›", 60 'prev_show_always' :true, 61 'next_show_always' :true , 62 'block_size' : 10 , 63 'addTag' : "", 64 'items_per_page' : rowCount 65 } 66 67 if (total > 0) { 68 opts.selected_tag = "strong"; 69 $("#paging").paging(opts); 70 } 71 } 72 73 // ì«ì ì²´í¬(ì«ìë§ ì ë ¥) 74 function checkNumber(Num) { 75 var temp = ""; 76 for (var i = 0; i < Num.value.length; i++) { 77 achar = Num.value.substring(i, i + 1); 78 if (achar < "0" || achar > "9") { 79 alert("ì«ìë§ ì ë ¥í´ ì£¼ì¸ì."); 80 Num.value = temp; 81 if(Num.value.length == 0){Num.value = "";} 82 } else { 83 temp += achar; 84 } 85 86 } 87 } 88 89 // í ì¤í¸ë¥¼ ë³µì¬íë¤. (IEììë§ ëì) 90 function copyText(text) { 91 window.clipboardData.setData('Text', text); 92 // UID ë³µì¬ ì í box ì¨ê¸°ê¸° 93 $(".selectUidCopy").hide(); 94 if (window.clipboardData.getData('Text') != "") { 95 alert(window.clipboardData.getData('Text') + "ê° ë³µì¬ëììµëë¤."); 96 } 97 } 98 99 // ë¤ì ìì± 100 function formReset(formId) { 101 if (confirm("ë¤ì ìì± íìê² ìµëê¹?")) { 102 $("#" + formId).each(function() { 103 this.reset(); 104 }); 105 } 106 } 107 108 // ë¡ê·¸ì¸(returnUrl) 109 function loginReturnUrl(URI, parameter) { 110 var returnUrl = URI + "?" + parameter; 111 document.location.href = "/index.9is?resultType=login&returnUrl=" + encodeURIComponent(returnUrl); 112 } 113 114 // ìë¸í¨ì¤ ì¬ì´í¸ ë¡ê·¸ì¸(returnUrl) 115 function loginReturnUrl(URI, parameter,subPath) { 116 var returnUrl = URI + "?" + parameter; 117 console.log(subPath); 118 document.location.href = subPath+"/index.9is?resultType=login&returnUrl=" + encodeURIComponent(returnUrl); 119 } 120 121 // 문ìì´ì í¬í¨ë 모ë 공백 ì ê±° 122 function compactTrim(str) { 123 return str.replace(/(\s*)/g, ""); 124 } 125 126 /** 127 * 기본(action) ì¸ ë°ì´í° ìì 128 * @param parameter íë¼ë¯¸í° ê° ì) question 129 * @param UID parameterì ë§ë UID ê° 130 * @param option 기í íë¼ë¯¸í° 131 */ 132 function deleteSubCheck(parameter, UID, option) { 133 if (confirm("ìì íìê² ìµëê¹?")) 134 document.location = "./" + parameter + "_action.9is?mode=delete&" + parameter + "Uid=" + UID + "&" + option; 135 else 136 return; 137 } 138 139 function deleteResercationSubCheck(UID, option){ 140 if (confirm("ìì íìê² ìµëê¹?")) 141 document.location = "./reservation_total_pension_action.9is?mode=delete&reservationUid=" + UID + "&" + option; 142 else 143 return; 144 } 145 146 // ì²ë¨ì ì½¤ë§ ì°ê¸° 147 function commify(n) { 148 var reg = /(^[+-]?\d+)(\d{3})/; // ì ê·ì 149 n += ''; // ì«ì를 문ìì´ë¡ ë³í 150 151 while (reg.test(n)) n = n.replace(reg, '$1' + ',' + '$2'); 152 153 return n; 154 }
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.