<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="ja-JP">
<head>
<meta http-equiv="content-type" content="text/html; charset=shift_jis">
<meta http-equiv="content-script-type" content="text/javascript">
<meta http-equiv="content-style-type" content="text/css">
<title>新しい別窓で表示する</title>
<script type="text/javascript">
<!--
function Bintana(bukusan,MoveX,MoveY){
var Setting;
Setting = 'status=0,scrollbars=1,resizable=1,menubar=0,'
+'location=0,toolbar=0,width=300,height=300';
TulongBintana = window.open(bukusan, "", Setting);
TulongBintana.moveTo(MoveX,MoveY);
TulongBintana.focus();
}
function Bintana2(bukusan2,MoveX,MoveY){
var Setting;
Setting = 'status=0,scrollbars=1,resizable=1,menubar=0,'
+'location=0,toolbar=0,width=400,height=150';
TulongBintana2 = window.open(bukusan2, "", Setting);
TulongBintana2.moveTo(MoveX,MoveY);
TulongBintana2.focus();
}
// -->
</script>
</head>
<body>
<h2>新しい別窓で表示する</h2>
<p>
<a href="blankpage.html" name="Bintana"
onClick="Bintana('blankpage.html',100,100); return false"
onkeypress="Bintana('blankpage.html',100,100); return false">
新しい別窓で表示する</a>
</p>
<input type="button" name="Bintana2"
value="新しい別窓で表示する"
onClick="Bintana2('blankpage2.html',200,200); return false"
onkeypress="Bintana2('blankpage2.html',200,200); return false"
accesskey="Q" tabindex="2">
</body>
</html>
| HOME | 相互リンク集 | 初心者に分かりやすい JavaScript サンプル |
Copyright(C)2008 bisoy , All rights reserved.
Last Update: 6 / 25 / 2008 17:23:51 JST