웹&컴퓨팅

opener

x2chi 2007. 6. 19. 20:45
반응형

<DIV>opener로 잘됩니다. 아래 코드를 참고하세요.</DIV>
<DIV> </DIV>
<DIV><STRONG>aaa.html</STRONG></DIV>
<DIV 
style="BORDER-RIGHT: gray 1px solid; PADDING-RIGHT: 8px; BORDER-TOP: gray 1px solid; PADDING-LEFT: 8px; PADDING-BOTTOM: 8px; BORDER-LEFT: gray 1px solid; COLOR: green; PADDING-TOP: 8px; BORDER-BOTTOM: gray 1px solid; BACKGROUND-COLOR: #eeeeee">
<DIV><html><BR><head></head><BR><body></DIV>
<DIV> </DIV>
<DIV><iframe src=bbb.html></iframe></DIV>
<DIV> </DIV>
<DIV></body><BR></html><BR></DIV></DIV>
<DIV><BR><STRONG>bbb.html</STRONG></DIV>
<DIV 
style="BORDER-RIGHT: gray 1px solid; PADDING-RIGHT: 8px; BORDER-TOP: gray 1px solid; PADDING-LEFT: 8px; PADDING-BOTTOM: 8px; BORDER-LEFT: gray 1px solid; COLOR: green; PADDING-TOP: 8px; BORDER-BOTTOM: gray 1px solid; BACKGROUND-COLOR: #eeeeee">
<DIV><html><BR><head></head><BR><body></DIV>
<DIV> </DIV>
<DIV><form name="testForm"><BR><input 
name="testInput"><BR></form></DIV>
<DIV> </DIV>
<DIV><script><BR>window.open("ccc.html","","scrollbars=yes,width=500,height=450,top=0,left=0");<BR></script></DIV>
<DIV> </DIV>
<DIV></body><BR></html></DIV></DIV>
<DIV> </DIV>
<DIV><STRONG>ccc.html</STRONG></DIV>
<DIV 
style="BORDER-RIGHT: gray 1px solid; PADDING-RIGHT: 8px; BORDER-TOP: gray 1px solid; PADDING-LEFT: 8px; PADDING-BOTTOM: 8px; BORDER-LEFT: gray 1px solid; COLOR: green; PADDING-TOP: 8px; BORDER-BOTTOM: gray 1px solid; BACKGROUND-COLOR: #eeeeee">
<DIV><input name="a"><BR><input type=button 
onclick="opener.testForm.testInput.value=a.value" value="bbb에 
보내기"></DIV></DIV>
<DIV> </DIV>

반응형

'웹&컴퓨팅' 카테고리의 다른 글

innerText, innerHTML ,outerText, outerHTML  (2) 2007.06.19
putty의 다양한 기능을 활용해봅시다.  (3) 2007.06.19
autorun.inf  (2) 2007.06.19
스크립트  (1) 2007.06.19
자바스크립트 이벤트  (2) 2007.06.19