File name: zipcode/form/usage.fom (2,407 bytes) Text file viewer v1.2
    1 : {&
    2 :  /*
    3 :      file: usage.fom
    4 :  */
    5 :  if(bground=="") bground= " bgcolor=#ffffff";
    6 : }
    7 : <html>
    8 : <head>
    9 : <!-- {$PROGRAM_NAME} {$PROGRAM_VERSION} -->
   10 : <meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
   11 : <STYLE TYPE="text/css">
   12 : <!--
   13 :  table { border-width:1px; border-color:#000000; }
   14 :  td { border-width:1px; border-color:#000000;
   15 :       font-size:9pt; font-family:굴림; background:#fdffee; }
   16 :  -->
   17 : </STYLE>
   18 : </head>
   19 : <body{$bground}>
   20 : <center>
   21 : <table border=1 cellspaing=1 cellpadding=5 width=800>
   22 : <tr>
   23 : <td width=50 align=center>현재호출</td>
   24 : <td nowrap>zipcode.wel?fn={$fn}&z1={$z1}&z2={$z2}&a1={$a1}&a2={$a2}</td>
   25 : </tr>
   26 : <td width=50 align=center>호출형식</td>
   27 : <td nowrap>
   28 : Usage#1: zipcode.wel?fn=폼테그 이름&z1=우편번호1&z2=우편번호2&a1=주소1&a2=주소2<br>
   29 : Usage#2: zipcode.wel?fn=폼테그 이름&z1=우편번호1&z2=우편번호2&a1=주소1&a2=주소2&dong=읍/면/동 이름<br>
   30 : Usage#3: zipcode.wel?onlylist=1<br>
   31 : Option: zipcode.wel?....&background=그림파일위치&bgcolor=16진 색상값('#'기호 없음)</td>
   32 : </tr>
   33 : <tr>
   34 : <td width=50 align=center>호출자<br><br>&lt;HEAD&gt;<br><br>내용</td>
   35 : <td nowrap>
   36 : <br>
   37 : <pre>&lt;script language=&quot;JavaScript&quot;&gt;
   38 : &lt;!--
   39 : function call_addr(formname, zip1, zip2, addr1, addr2, dong)
   40 :  {
   41 :     if(dong!=&quot;&quot;) dong= eval(&quot;document.&quot;+formname+&quot;.&quot;+dong+&quot;.value&quot;);
   42 :     url= &quot;해당디렉토리/zipcode.wel?fn=&quot; + formname + &quot;&z1=&quot; + zip1 + &quot;&z2=&quot; + zip2
   43 :        + &quot;&a1=&quot; + addr1 + &quot;&a2=&quot; + addr2 + &quot;&dong=&quot; + dong;
   44 :     option= &quot;left=10,top=10,width=500,height=300&quot;
   45 :           + &quot;,toolbar=no,menubar=no,status=no,resizable=no,scrollbars=yes&quot;;
   46 :     window.open(url,&quot;zipcode&quot;,option);
   47 :  }
   48 : //--&gt;
   49 : &lt;/script&gt;</pre>
   50 : </td>
   51 : </tr>
   52 : <td width=50 align=center>호출자<br><br>&lt;BODY&gt;<br><br>내용</td>
   53 : <td nowrap>
   54 : <br>
   55 : <pre>&lt;form name=&quot;폼테그 이름&quot;&gt;
   56 :  &lt;input type=text name=&quot;우편번호1&quot; size=3 readonly=1&gt; - &lt;input type=text name=&quot;우편번호2&quot; size=3 readonly=1&gt;&lt;br&gt;
   57 :  &lt;input type=button value= &quot;주소입력&quot; onclick=&quot;call_addr('폼테그 이름','우편번호1','우편번호2','주소1','주소2','')&quot;&gt;&lt;br&gt;
   58 :  &lt;input type=text name=&quot;주소1&quot; size=68 readonly=1&gt;&lt;br&gt;
   59 :  &lt;input type=text name=&quot;주소2&quot; size=50&gt;
   60 : &lt;/form&gt;</pre>
   61 : </td>
   62 : </tr>
   63 : </table>
   64 : {$cpright}
   65 : </center>
   66 : </body>
   67 : </html>
File name: zipcode/form/usage.fom (2,407 bytes) Wesoft Corp. ⓒ 2001 All rights reserved.