09.ウィンドウ
ウインドウオブジェクトを使ってJavaScript特有のいくつかのイベントがあります。
コマンド
①window.open('URL','ウインドウ名','スタイル指定',サイズ指定')
②window.moveTo(X座標,Y座標)
③ウインドウサイズを変更
④ウインドウの移動
ページ | 実行ファイル | ソース | コメント |
---|---|---|---|
<60p> | 60_0p.html | 60_0p_js | ●新しいウインドウを開く |
<61p> | # | # | ●# |
<62p> | 62_0p.html | 62_0p_js | ●新しいウインドウを開く |
---|---|---|---|
62_1p.html | 62_1p_js | ●新しいウインドウを開く | |
62_2p.html | 62_2p_js | ●新しいウインドウを開く | |
<63p> | # | # | ●# |
<64p> | 64_0p.html | 64_0p_js | ●サイズを指定して開く |
---|---|---|---|
64_1p.html | 64_1p_js | ●サイズを指定して開く | |
64_2p.html | 64_2p_js | ●サイズを指定して開く | |
64_9p.html | 64_9p_js | ●サイズを指定して開く |
<65p> | 65_0p.html | 65_0p_js | ●サイズを指定して開く |
---|---|---|---|
<66p> | 66_1p.html | 66_1p_js | ●ウインドウ左から右に移動 |
66_5p.html | 66_5p_js | ●ウインドウ左から右に移動 | |
66_7p.html | 66_7p_js | ●ウインドウ左から右下移動 | |
66_8p.html | 66_8p_js | ●ウインドウ左から右下移動 |
<68p> | 68_2p.html | 68_2p_js | ●ウインドウを動かす |
---|---|---|---|
68_3p.html | 68_3p_js | ●ウインドウを動かす | |
68_4p.html | 68_4p_js | ●ウインドウを動かす | |
<69p> | 69_1p.html | 69_1p_js | ●これ以上○○シフト不可 |