diff options
| author | SphinxKnight <SphinxKnight@users.noreply.github.com> | 2021-09-26 13:11:47 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-26 13:11:47 +0200 |
| commit | 6772831200d14c2436aea2d0c837f40dbf12156f (patch) | |
| tree | e41b587ce1834baf8c737454c0ae110ebc8208ca /files/fr/web/api/window/frames | |
| parent | 707941dbecfb0cc1e75dd32d2dacac4d1845bf2c (diff) | |
| download | translated-content-6772831200d14c2436aea2d0c837f40dbf12156f.tar.gz translated-content-6772831200d14c2436aea2d0c837f40dbf12156f.tar.bz2 translated-content-6772831200d14c2436aea2d0c837f40dbf12156f.zip | |
Prepare Web API section for Markdown conversion (#2464)
* Remove summary classes and ids
* Remove unecessary hidden
* Remove useless span filled with useless attributes / ids
* Remove useless font
* Remove notranslate
* Remove id in other elements than headings
* Remove name attributes
* Remove <pre><code> for JS w/ language-js class
* Remove <pre><code> for HTML w/ language-html class
* Remove <pre><code> for other lang w/ language-* class
* Rm highlighted line in code samples
* fix links, internal, external, absolute URLs
* missing file from last commit
* Fix styles errors apart from table + some classes
* Fix notes and warnings (+ some other :x)
* fix typo during merge which broke a doc
* aand forgot a conflict
* fix remaining classes of errors except dls and images
* Fix dls
* Fix images (deki/mozillademos) and remaining style issues
* Remove script tag from svg file
* Remove script tag from svg fileS
* Compress SVG files for CI
Diffstat (limited to 'files/fr/web/api/window/frames')
| -rw-r--r-- | files/fr/web/api/window/frames/index.html | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/files/fr/web/api/window/frames/index.html b/files/fr/web/api/window/frames/index.html index 3823eba20d..1fd6a767fe 100644 --- a/files/fr/web/api/window/frames/index.html +++ b/files/fr/web/api/window/frames/index.html @@ -15,13 +15,9 @@ translation_of: Web/API/Window/frames --- <p>{{ApiRef("Window")}}</p> -<p> </p> - -<h2 id="Summary" name="Summary">Résumé</h2> - <p>Renvoie la fenêtre elle-même, qui est semblable à un objet de type Array, listant les frames présentes dans la fenêtre courante.</p> -<h2 id="Syntax" name="Syntax">Syntaxe</h2> +<h2 id="Syntax">Syntaxe</h2> <pre class="eval"><em>frameList</em> = window.frames; </pre> @@ -29,11 +25,11 @@ translation_of: Web/API/Window/frames <ul> <li><code>frameList</code> est une liste d'objets frame, semblable à un tableau grâce à la propriété <code>length</code> . Ses éléments sont accessibles en utilisant la notation <code>{{ mediawiki.external('i') }}</code>.</li> <li><code>frameList === window</code> est évalué à <code>true</code>.</li> - <li>Chaque élément de window.frames est un pseudo tableau représentant l'objet <a class="internal" href="/en/DOM/window" title="en/DOM/window">window</a> correspondant au contenu de la <a class="internal" href="/en/HTML/Element/frame" title="en/HTML/Element/frame"><frame></a> ou <a class="internal" href="/en/HTML/Element/iframe" title="en/HTML/Element/iframe"><iframe></a> , et non au DOM element (i)frame (ex., <code>window.frames[ 0 ]</code> équivaut à <code>document.getElementsByTagName( "iframe" )[ 0 ].contentWindow</code>).</li> - <li>pour plus de détails sur la valeur retournée, se référer au <a class="external external-icon" href="http://groups.google.com/group/mozilla.dev.platform/browse_thread/thread/5628c6f346859d4f/169aa7004565066?hl=en&ie=UTF-8&oe=utf-8&q=window.frames&pli=1" title="http://groups.google.com/group/mozilla.dev.platform/browse_thread/thread/5628c6f346859d4f/169aa7004565066?hl=en&ie=UTF-8&oe=utf-8&q=window.frames&pli=1">fil de discussion sur mozilla.dev.platform</a>.</li> + <li>Chaque élément de window.frames est un pseudo tableau représentant l'objet <a href="/en/DOM/window">window</a> correspondant au contenu de la <a href="/en/HTML/Element/frame"><frame></a> ou <a href="/en/HTML/Element/iframe"><iframe></a> , et non au DOM element (i)frame (ex., <code>window.frames[ 0 ]</code> équivaut à <code>document.getElementsByTagName( "iframe" )[ 0 ].contentWindow</code>).</li> + <li>pour plus de détails sur la valeur retournée, se référer au <a href="http://groups.google.com/group/mozilla.dev.platform/browse_thread/thread/5628c6f346859d4f/169aa7004565066?hl=en&ie=UTF-8&oe=utf-8&q=window.frames&pli=1">fil de discussion sur mozilla.dev.platform</a>.</li> </ul> -<h2 id="Example" name="Example">Exemple</h2> +<h2 id="Example">Exemple</h2> <pre class="brush: js">var frames = window.frames; // ou // var frames = window.parent.frames; for (var i = 0; i < frames.length; i++) { @@ -42,8 +38,6 @@ for (var i = 0; i < frames.length; i++) { } </pre> -<h2 id="Specification" name="Specification">Spécifications</h2> - -<p id="comment_text_2">{{SpecName('HTML WHATWG','browsers.html#dom-frames','Window.frames')}}</p> +<h2 id="Specification">Spécifications</h2> -<p> </p> +<p>{{SpecName('HTML WHATWG','browsers.html#dom-frames','Window.frames')}}</p>
\ No newline at end of file |
