left=0, top=0, width=600, height=500,
toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=yes
scrollbars=resizable 일 경우 스크롤 자동
input.asp
<form name="frm" method="post" action="input_ok.asp" target="_blank">
홈페이지 주소 : <input type="text" size="50" name="homepage">
<input type="image" name="send" src="../image/go_btn.gif" alt="새창으로 보기">
</form>
input_ok.asp
<%
link = request("homepage")
response.redirect link
%>
test_new_win.asp
<form name="selFrm" action="test_new_win_ok.asp" target="_blank">
<div id="footer_bg">
<div id="footer">
<select name="linkPage" class="top" style="width:180px;">
<option>----- 관 련 사 이 트 -----</option>
<option value="http://www.naver.com">네이버</option>
<option value="http://www.daum.net">다음</option>
<option value="http://www.nate.com">네이트</option>
</select>
<input type="image" id="move" name="go" src="../image/move_btn.gif" alt="선택한 페이지로 이동" />
</div>
</div>
</form>
test_new_win_ok.asp
<%
link = request("linkPage")
if link <> "" then
response.redirect link
end if
%>
<script type="text/javascript" language="javascript">
function winOpen(){
var newWin=document.frm.linktxt.value;
window.open(newWin, 'new', 'width=500,height=400,scrollbar=yes,resize=yes,toolbar=yes');
return false;
}
</script>
<form name="frm" method="post" action="submitPage.asp">
<input type="text" name="linktxt" value="">
<a href="#" onclick="javascript
</form>
<script type="text/javascript" language="javascript">
function openWin(objForm, strFeatures, strWinName) {
if(!strWinName) {
strWinName = 'frmWin' + (new Date().getTime());
}
objForm.target = strWinName;
open('', strWinName, strFeatuers);
</script>
<form name="frm" method="post" action="submitPage.asp" onSubmit="openWin(this, 'width=600,height=400'); return true;">
</form>
<iframe src="http://주소" width="800" height="670" frameborder=0 marginheight=0 marginwidth=0 scrolling=no></iframe>