묻고답하기

//parent.htm의 내용
<html>

<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>제목 없음</title>
<meta name="generator" content="Namo WebEditor v5.0">
<script language="JavaScript">
<!--
function na_open_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)
{
toolbar_str = toolbar ? 'yes' : 'no';
menubar_str = menubar ? 'yes' : 'no';
statusbar_str = statusbar ? 'yes' : 'no';
scrollbar_str = scrollbar ? 'yes' : 'no';
resizable_str = resizable ? 'yes' : 'no';
window.open(url, name, 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+ '+ '+resizable_str);
}

// -->
</script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red">
<form name="form1">
<p><input type="text" name=parent_form[] value="현재폰트" maxlength="10" size="10"><a href="javascript:na_open_window('win00', 'popup_win.htm', 0, 0, 300, 200, 0, 0, 0, 0, 0)">폰트보기</a></p>
<p><input type="text" name=parent_form[] value="현재폰트" maxlength="10" size="10"><a href="javascript:na_open_window('win00', 'popup_win.htm', 0, 0, 300, 200, 0, 0, 0, 0, 0)">폰트보기</a></p>
</form>
<p> </p>
</body>

</html>

//popup_win.htm의 내용
<html>

<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>제목 없음</title>
<meta name="generator" content="Namo WebEditor v5.0">
</head>

<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red">
<SCRIPT Language="JavaScript">
<!--
function fSendValue(f){
opener.form1.parent_form.value=f.popup_textfield.value
}
//-->
</SCRIPT>

<p>새창</p>
<form name="form2" onsubmit='return fSendValue(this);'>
<p align="left"><input type="text" name="popup_textfield"><input type="submit" name="popup_submit" value="enter"></p>
</form>
<p> </p>
</body>

</html>

parent.htm에서 새차을을 띄우면 그 새창세 parent.htm의 inputtext값을 조정하려고 하거든요. 그런데 위에 보면 inputtext 네임이 같잖아요. 그 이유가. 원래가 php에서 for을 사용해서 자동으로 inputtext를 생성하기 때문에 그러거든요. 그래서 위와 같이 같은 inputtext name이 나란히 같은 폼 내에 있을때 각각의 링크에서 새창을 띄우고 새창으로 뜬 문서에서 자신을 띄운 inputtext의 값을 각각 조정하고 싶어서요. 그런데... 잘 안되네요. inputtext 네임을 배열로 저장해도 새창으로 뜨는 윈도우에서 어느 inputtext인지 구별을 할 수 없으니 되질 않네요...
이것 땜시 잠을 못 자고 있슴다. ㅠㅠ; 제발 좀 도와주세요...
please~~~~~~~~~~~~~

글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
곽상율 님드라 질문이염 ㅠ.ㅠ메뉴에관하여 [1] 2007.08.10
YouStory [요청] 플래시 버턴 [3] 2007.08.10
KHS Html파일에 로그인해야 볼수있게(외부로그인) [6] 2007.08.10
이성희 게시판 설치하는거 어디있어요? [3] 2007.08.10
임채훈 iframe의 위치를 바꾸려면 어떻게 해야하죠? [5] 2007.08.10
김한솔 웹폰트만들기에 관한 질문인데요..^^ [1] 2007.08.10
이영래 윈도우2000으로 서버를 구축해보고 싶은데요.. [1] 2007.08.10
김기표 노프레임에 제로보드 달려고합니다. 질문이... [1] 2007.08.10
임채훈 저기요....iframe이 머예염? ㅡㅡ [2] 2007.08.10
조희제 홈페이지 제일 처음 들어갈때.. [1] 2007.08.10
vier 댓글 기능 만들때요.. [2] 2007.08.10
이다연 매우 초보적인 질문입니다..-.-;;;;; [1] 2007.08.10
한종원 php실행에 대해 질문... [1] 2007.08.10
잿빛눈물 스크롤바 색상변경에 대해서 [2] 2007.08.10
napclub 채널  
윤현태 Flash안에 PHP나 HTML같은 것을 불러올수는 없을까요?  
Q)_Mark 포토샵으로 이런 효과를 주려면... [1] 2007.08.10
赤淚 포토샵이 이상해요..;;  
문선경 windows XP에서 소스보기가...  
미녕이돠 사이트제작할려구하는데요.. [1] 2007.08.10
roi~* [포토샵] 포토샵에서 한글이 안써지는데.. 어떡하죠?  
뻐꾸 파일 게시판에서 최근게시물 뽑는 건데요,..940개 정도부터 안되네요(소스)  
Outform 제로보드 내용추출 글자수 어케 자르나요? [1] 2007.08.10
ⓝeGe 제 홈페이지 메뉴좀 꾸며 주세요.ㅜ.ㅜ [1] 2007.08.10
김은홍 웹사이트의 php 소스를 보는 방법은 없는건가요? [2] 2007.08.10
binsant 더이상 몸고생은 그만 하고싶어요..!!ㅜ.ㅜ  
Joyful^^ 현재창 종료후 새창에서 다른 주소로 들어오게 할수 있나요? [5] 2007.08.10
김태형 저기.. 제가 개인서버을 운영할까 하는데... [1] 2007.08.10
박진철 저기...노프레임사이트여.. [2] 2007.08.10
조기은 창닫기 메뉴 만드는 방법좀 알려 주세요