別ウインドウに指定のページを開く(window.open)
<html>
<head>
<title>別ウインドウに指定のページを開く</title>
<script language="JavaScript">
<!--
//別ウインドウに指定のページを開く
function loc() {
win1 = window.open("../../sample/sample.html","","width=400.height=300");
}
//-->
</script>
</head>
<body onLoad="loc()">
別ウインドウに指定のページを開く<br>
</body>
</html>
〔 実行する 〕