|
1 - 그냥
<HEAD>
<SCRIPT>
function Popup() {
props=window.open('index.htm', 'poppage', 'toolbars=1, scrollbars=1, location=1, statusbars=1,
menubars=1, resizable=1, width=450, height=150, left = 200, top = 300');
}
</SCRIPT>
<BODY onLoad="javascript:Popup()">
2 - 버튼
<HEAD>
<SCRIPT language="javascript">
function Popup() {
props=window.open('index.htm', 'poppage', 'toolbars=1, scrollbars=1, location=1, statusbars=1,
menubars=1, resizable=1, width=450, height=150, left = 200, top = 300');
}
</SCRIPT>
<form>
<INPUT type=button value="Open the Popup Window" onClick="javascript:Popup()">
</form>
3. 창닫기 버튼
<FORM>
<INPUT style=font-size:11pt;font-family:바탕 type="button" value=" 창 닫 기 " onClick="self.close();"></FORM>
|