子ウィンドウを開く | Web Technique Last modified : 2006/04/12 |
<HTML> <HEAD> <TITLE>HISOAP - Web Technique [ 子ウィンドウを開く ]</TITLE> <SCRIPT language="JavaScript"> <!-- function openWin(){ win=window.open("openWin_sub.html","new","width=200,height=200"); } // --> </SCRIPT> </HEAD> <BODY> <FORM> <INPUT type="button" value="サンプル1" onClick="openWin()"> </FORM> </BODY> </HTML> |
<A HREF="javascript:openWin()">サンプル2</A> |
<HTML> <HEAD> <TITLE>HISOAP - Web Technique [ 子ウィンドウを開く ]</TITLE> </HEAD> <BODY> <SCRIPT LANGUAGE="JavaScript">focus();</SCRIPT> <A HREF="javascript:window.close();" STYLE="text-decoration:none; color:#000066;">[ Close ]</A> <TABLE BORDER=0 WIDTH="100%" HEIGHT="90%"> <TR><TD WIDTH="100%" ALIGN="center">♪ 子ウインドウ </TABLE> </BODY> </HTML> |