diff options
Diffstat (limited to 'files/fr/web/api/window/scrollbylines/index.html')
| -rw-r--r-- | files/fr/web/api/window/scrollbylines/index.html | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/files/fr/web/api/window/scrollbylines/index.html b/files/fr/web/api/window/scrollbylines/index.html index 471bae984f..eac61c0802 100644 --- a/files/fr/web/api/window/scrollbylines/index.html +++ b/files/fr/web/api/window/scrollbylines/index.html @@ -12,27 +12,23 @@ translation_of: Web/API/Window/scrollByLines --- <div>{{ ApiRef() }}</div> -<div> -<p id="comment_text_2">{{Non-standard_header}}</p> -</div> - -<h2 id="Summary" name="Summary">Description</h2> +<p>{{Non-standard_header}}</p> <p>Fait défiler le document du nombre de lignes spécifié.</p> -<h2 id="Syntax" name="Syntax">Syntaxe</h2> +<h2 id="Syntax">Syntaxe</h2> <pre class="syntaxbox">window.scrollByLines(<var>lignes</var>) </pre> -<h2 id="Parameters" name="Parameters">Paramètres</h2> +<h2 id="Parameters">Paramètres</h2> <ul> <li><code>lignes</code> est le nombre de lignes à faire défiler.</li> <li><code>lignes</code> peut être un entier positif ou négatif.</li> </ul> -<h2 id="Example" name="Example">Exemples</h2> +<h2 id="Example">Exemples</h2> <pre class="brush:html"><!-- Faire défiler le document de 5 lignes vers le bas. --> <button onclick="scrollByLines(5);">5 lignes vers le bas</button> @@ -42,11 +38,11 @@ translation_of: Web/API/Window/scrollByLines <button onclick="scrollByLines(-5);">5 lignes vers le haut</button> </pre> -<h2 id="Specification" name="Specification">Spécification</h2> +<h2 id="Specification">Spécification</h2> -<p id="comment_text_2">Ne fait partie d'aucune spécification.</p> +<p>Ne fait partie d'aucune spécification.</p> -<h2 id="See_also" name="See_also">See also</h2> +<h2 id="See_also">See also</h2> <ul> <li>{{domxref("window.scrollBy")}}, {{domxref("window.scrollByPages")}}</li> |
