s

타겟지정..

안녕하세요..
 
아무리 해봐도.. 제 보잘것 없는 실력으론 무리군요 ㅡ.ㅡ;;;
 
검색 폼인데요..
 
현재.. 이걸 아이프레임으로 불러와 있는 상태입니다..
 
검색시.. 타겟지정해서 부모창이나.. 새창이나.. 그렇게 열고 싶은데..
 
현재 상황으론.. 스크립트로 해결을 봐야하는건지.. 킁..
 
도무지. 어디어떻게 줘야할지 모르겠습니다 ㅠ_ㅠ 도와주세용;
 
 
 
 
 
<table width=400 cellpadding=0 cellspacing=0 border=0 bgcolor=1B7FAE style="border-right-width:1; border-left-width:1; border-right-color:rgb(168,75,0); border-left-color:rgb(168,75,0); border-right-style:double; border-left-style:double;">
 <tr><td height=1 bgcolor=A84B00 colspan=3></td></tr>
 <tr>
  <td width=124 align=center><b>인물정보검색</b></td>
  <td align=center>
   <table width="252" height="40" cellpadding="0" cellspacing="0" border="0">
     <form name="fsearchbox" method="get" action="javascript:fsearchbox_submit(document.fsearchbox);">
     <input type="hidden" name="bo_table" value="inmoolinfo">
     <input type="hidden" name="sfl" value="wr_subject||wr_content">
     <input type="hidden" name="sop" value="and">
   <tr>
   <td width="206" height="2"></td>
   <td width="44"></td>
   <td width="2"></td>
   </tr>
   <tr>
   <td width="206" align="center">
   <input type="text" name="stx" align="middle" style="width:200px; height:19px;" class=scinput tabindex=1></td>
   <td width="44">
   <input type="image" src="http://gynet.co.kr/gynet/skin/search/basic/img/search_btn.gif" width="44" height="20" border="0" align="absmiddle" onFocus="this.blur()" target=board></td>
   </tr>
     </form>
    
   </table>
   <script language="JavaScript">
   document.onload = document.fsearchbox.stx.focus();
   function fsearchbox_submit(f)
   {
    if (f.stx.value == '')
    {
     alert("검색어를 입력하세요.");
     f.stx.select();
     f.stx.focus();
     return;
    }
    
    f.action = "http://gynet.co.kr/gynet/bbs/board.php";
    f.submit();
   }
   </script>
|

댓글 2개

타겟을 스크립트에 넣으세요.

f.submit() 위에
f.target = "프레임명";
댓글을 작성하시려면 로그인이 필요합니다. 로그인

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
19년 전 조회 1,718
19년 전 조회 1,594
19년 전 조회 1,606
19년 전 조회 1,736
19년 전 조회 1,511
19년 전 조회 1,518
19년 전 조회 1,530
19년 전 조회 1,579
19년 전 조회 1,949
19년 전 조회 1,675
19년 전 조회 1,524
19년 전 조회 1,599
19년 전 조회 1,573
19년 전 조회 1,632
19년 전 조회 1,633
19년 전 조회 1,497
19년 전 조회 1,570
19년 전 조회 1,529
19년 전 조회 1,525
19년 전 조회 1,653
🐛 버그신고