aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/api/htmliframeelement/contentwindow/index.html
diff options
context:
space:
mode:
authorjulieng <julien.gattelier@gmail.com>2021-10-02 17:20:14 +0200
committerSphinxKnight <SphinxKnight@users.noreply.github.com>2021-10-02 17:30:20 +0200
commitc05efa8d7ae464235cf83d7c0956e42dc6974103 (patch)
tree6ea911b2f2010f63a026de6bb7a1a51e7690a7e1 /files/fr/web/api/htmliframeelement/contentwindow/index.html
parent13a5e017558b248ee1647d4a5825f183b51f09ad (diff)
downloadtranslated-content-c05efa8d7ae464235cf83d7c0956e42dc6974103.tar.gz
translated-content-c05efa8d7ae464235cf83d7c0956e42dc6974103.tar.bz2
translated-content-c05efa8d7ae464235cf83d7c0956e42dc6974103.zip
move *.html to *.md
Diffstat (limited to 'files/fr/web/api/htmliframeelement/contentwindow/index.html')
-rw-r--r--files/fr/web/api/htmliframeelement/contentwindow/index.html46
1 files changed, 0 insertions, 46 deletions
diff --git a/files/fr/web/api/htmliframeelement/contentwindow/index.html b/files/fr/web/api/htmliframeelement/contentwindow/index.html
deleted file mode 100644
index 2dd8193ca3..0000000000
--- a/files/fr/web/api/htmliframeelement/contentwindow/index.html
+++ /dev/null
@@ -1,46 +0,0 @@
----
-title: HTMLIFrameElement.contentWindow
-slug: Web/API/HTMLIFrameElement/contentWindow
-tags:
- - API
- - DOM
- - Propriété
- - Web
-translation_of: Web/API/HTMLIFrameElement/contentWindow
----
-<div>{{APIRef("HTML DOM")}}</div>
-
-<p>La propriété <strong><code>contentWindow</code></strong> renvoie l'objet <code><a href="/fr/docs/Web/API/Window">Window</a></code> d'un élément {{HTMLElement("iframe")}}. Cet objet <code>Window</code> peut être utilisé pour accéder au document de l'<em>iframe</em> et à son DOM. Cet attribut est en lecture seule mais ses propriétés peuvent être manipulées comme pour l'objet global <code>Window</code>.</p>
-
-<h2 id="Exemples">Exemples</h2>
-
-<pre class="brush: js">var x = document.getElementsByTagName("iframe")[0].contentWindow;
-//x = window.frames[0];
-
-x.document.getElementsByTagName("body")[0].style.backgroundColor = "blue";
-// ceci devrait changer le 1er iframe dans le document bleu.</pre>
-
-<h2 id="Spécifications">Spécifications</h2>
-
-<table class="standard-table">
- <thead>
- <tr>
- <th scope="col">Spécification</th>
- <th scope="col">État</th>
- <th scope="col">Commentaires</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>{{SpecName('HTML WHATWG', '#dom-iframe-contentwindow', 'HTMLIFrameElement: contentWindow')}}</td>
- <td>{{Spec2('HTML WHATWG')}}</td>
- <td></td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2>
-
-
-
-<p>{{Compat("api.HTMLIFrameElement.contentWindow")}}</p>