1// ìì´íëì 2function iframe_autoresize(arg) { 3 arg.height = eval(arg.name+".document.body.scrollHeight"); 4} 5 6// ê³µì§ íì ì°½ì ëì´ë¤. 7function popUpWindow(htmlvalue,names, width, Height, top, left, scrollbar,resizable) { 8 if(top == "") top='0'; 9 if(left == "") left='0'; 10 if(scrollbar == "") scrollbar='no'; 11 if(resizable == "") resizable='no'; 12 window.open (htmlvalue, names, "scrollbars="+ scrollbar+", resizable="+ resizable+", width=" + width + ", height=" + Height + ",top=" + top + ",left=" + left + ", toolbar=no, location=no, directories=no, status=no, copyhistory=no, menubar=no"); 13} 14 15// Get ë°©ìì¼ë¡ ì¬ì´í¸ë¥¼ ì´ë ìì¼ì¤ë¤. 16function goURL(gURL,message) { 17 18 if(message != "") { 19 if(confirm(message)) { 20 location.href=gURL; 21 return; 22 } else { 23 return; 24 } 25 } 26 27 document.location=gURL; 28} 29 30 31// Post ë°©ìì¼ë¡ ì¬ì´í¸ë¥¼ ì´ë ìì¼ì¤ë¤. 32function goURLPost(gURL,message) { 33 34 if(message != "") { 35 if(confirm(message)) { 36 postFormAction(gURL); 37 return; 38 } else { 39 return; 40 } 41 } 42 postFormAction(gURL); 43} 44 45// Get ë°©ìì URL ì ë¶ìíì¬ Post ë°©ìì Form ì¼ë¡ ì ì¡íë¤. 46function postFormAction(gURL) { 47 tempgURL_array = gURL.split("?"); // ì¬ì´í¸ URL ê³¼ íë¼ë©íë³ì를 ë¶ë¦¬íë¤. 48 tmpURL = tempgURL_array[0]; // ì¬ì´í¸ URL 49 tmpPara = tempgURL_array[1]; // íë¼ë©íë³ì 50 writeform = "<meta http-equiv='Content-Type' content='text/html; charset=utf-8'>"; 51 writeform = writeform + "<form name='autopost_form' action='"+tmpURL+"' method='post'>\n"; 52 if(tmpPara != "" && tmpPara != null) { 53 tmpPara_array = tmpPara.split("&"); // íë¼ë©íë³ì ë°°ì´ 54 for(i=0;tmpPara_array.length > i;i++) { 55 para = tmpPara_array[i]; 56 para_array = para.split("="); // íë¼ë©íì ì´ë¦ê³¼ ê°ì ëëë¤. 57 writeform = writeform + "<input type='hidden' name='"+para_array[0]+"' value='"+para_array[1]+"'>\n"; 58 } 59 } 60 writeform = writeform + "</form>\n"; 61 writeform = writeform + "<script>document.autopost_form.submit();</script>\n"; 62 63 document.write(writeform); 64} 65 66 67/* 68ì´ë¯¸ì§ë¥¼ íì ì¼ë¡ ë°ì°ê³ ì°½ë³´ë¤ ì´ë¯¸ì§ê° í´ê²½ì° ëëê·¸íì¬ ë³´ê¸°ê° ê°ë¥íë¤. 69imgpath : ì´ë¯¸ì§ ê²½ë¡ 70wintitle : ì´ë¯¸ì§ íì ì°½ì íì´í ì´ë¦ 71*/ 72function popupImageView(imgpath,wintitle) { 73 // ì´ë¯¸ì§ ì 보를 ê°ì ¸ì¤ê¸°ìí ì´ë¯¸ì§ê°ì²´ ìì± 74 var imageobj = new Image(); 75 imageobj.src = imgpath; 76 77 img_width = imageobj.width; 78 img_height = imageobj.height; 79 80 81 winhtml = "<html>"; 82 winhtml += "<head>"; 83 winhtml += "<title>" + wintitle + "</title>"; 84 winhtml += "<script>"; 85 winhtml += "function winResize(){"; 86 winhtml += " var bodyobj=document.body;"; 87 winhtml += " var imageobj = document.images[0];"; 88 winhtml += " img_width = imageobj.width;"; 89 winhtml += " img_height = imageobj.height;"; 90 winhtml += " rewidth=img_width-bodyobj.clientWidth;"; 91 winhtml += " reheight=img_height-bodyobj.clientHeight-15;"; 92 winhtml += " window.resizeBy(rewidth,reheight);"; 93 winhtml += "}"; 94 winhtml += "\n"; 95 winhtml += "var sx=0;"; 96 winhtml += "var sy=0;"; 97 winhtml += "document.onmousedown = dset;"; 98 winhtml += "function dset() {"; 99 winhtml += " sx = event.x;"; 100 winhtml += " sy = event.y;"; 101 winhtml += "}"; 102 winhtml += "\n"; 103 winhtml += "function imgmove() {"; 104 winhtml += " dx = event.x;"; 105 winhtml += " dy = event.y;"; 106 winhtml += " mx = sx - dx;"; 107 winhtml += " my = sy - dy;"; 108 winhtml += " sx = dx;"; 109 winhtml += " sy = dy;"; 110 winhtml += " window.scrollBy(mx,my);"; 111 winhtml += "}"; 112 winhtml += "</"+"script>"; 113 winhtml += "</head>"; 114 winhtml += "<body style='margin:0' Onload='winResize()'>"; 115 winhtml += "<a style='cursor:move' Ondrag='imgmove();'><img src='" + imgpath + "' border=0 OnClick='window.close();'></a></body></html>"; 116 117 winobj = window.open("about:blank","","scrollbars=yes,status=yes,resizable=yes,width="+img_width+",height="+img_height+""); 118 winobj.document.open("text/html", "replace"); 119 winobj.document.write(winhtml); 120 winobj.document.close(); 121}
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.