aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/api/window/top
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
commit33058f2b292b3a581333bdfb21b8f671898c5060 (patch)
tree51c3e392513ec574331b2d3f85c394445ea803c6 /files/ja/web/api/window/top
parent8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff)
downloadtranslated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip
initial commit
Diffstat (limited to 'files/ja/web/api/window/top')
-rw-r--r--files/ja/web/api/window/top/index.html54
1 files changed, 54 insertions, 0 deletions
diff --git a/files/ja/web/api/window/top/index.html b/files/ja/web/api/window/top/index.html
new file mode 100644
index 0000000000..2972fa34ae
--- /dev/null
+++ b/files/ja/web/api/window/top/index.html
@@ -0,0 +1,54 @@
+---
+title: window.top
+slug: Web/API/Window/top
+tags:
+ - API
+ - DOM
+ - HTML
+ - Window
+translation_of: Web/API/Window/top
+---
+<div>{{APIRef}}</div>
+
+<p>ウィンドウ階層における最上位のウィンドウへの参照を返します。</p>
+
+<h2 id="構文">構文</h2>
+
+<pre class="syntaxbox">var <var>topWindow</var> = window.top;
+</pre>
+
+<h2 id="注記">注記</h2>
+
+<p>{{domxref("window.parent")}} プロパティは、現在のウィンドウの直近の親を返しますが、<code>window.top</code> は、ウィンドウオブジェクトの階層における最上位のウィンドウを返します。</p>
+
+<p>このプロパティは、親、あるいは、階層になっているウィンドウのサブフレーム内にあるウィンドウを扱っていて、最上位のフレームセットを取得したいときに特に役立ちます。</p>
+
+<h2 id="仕様">仕様</h2>
+
+<table class="standard-table">
+ <thead>
+ <tr>
+ <th scope="col">仕様</th>
+ <th scope="col">状態</th>
+ <th scope="col">コメント</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>{{SpecName('HTML WHATWG', 'browsers.html#dom-top', 'window.top')}}</td>
+ <td>{{Spec2('HTML WHATWG')}}</td>
+ <td></td>
+ </tr>
+ <tr>
+ <td>{{SpecName('HTML5 W3C', 'browsers.html#dom-top', 'window.top')}}</td>
+ <td>{{Spec2('HTML5 W3C')}}</td>
+ <td>初期の定義</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="ブラウザー互換性">ブラウザー互換性</h2>
+
+
+
+<p>{{Compat("api.Window.top")}}</p>