From c05efa8d7ae464235cf83d7c0956e42dc6974103 Mon Sep 17 00:00:00 2001 From: julieng Date: Sat, 2 Oct 2021 17:20:14 +0200 Subject: move *.html to *.md --- files/fr/web/api/window/scrollbypages/index.html | 42 ------------------------ files/fr/web/api/window/scrollbypages/index.md | 42 ++++++++++++++++++++++++ 2 files changed, 42 insertions(+), 42 deletions(-) delete mode 100644 files/fr/web/api/window/scrollbypages/index.html create mode 100644 files/fr/web/api/window/scrollbypages/index.md (limited to 'files/fr/web/api/window/scrollbypages') diff --git a/files/fr/web/api/window/scrollbypages/index.html b/files/fr/web/api/window/scrollbypages/index.html deleted file mode 100644 index 8419d43545..0000000000 --- a/files/fr/web/api/window/scrollbypages/index.html +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: Window.scrollByPages() -slug: Web/API/Window/scrollByPages -tags: - - API - - DOM - - Gecko - - Méthode -translation_of: Web/API/Window/scrollByPages ---- -

{{ ApiRef() }}{{Non-standard_header}}

- -

Fait défiler le document du nombre de pages spécifié.

- -

Syntaxe

- -
window.scrollByPages(pages)
-
- -

Paramètres

- - - -

Exemples

- -
// fait défiler le document d'une page vers le bas
-window.scrollByPages(1);
-
-// fait défiler le document d'une page vers le haut
-window.scrollByPages(-1);
-
- -

Notes

- -

Voir aussi window.scrollBy, window.scrollByLines, window.scroll, window.scrollTo.

- -

Spécification

- -

DOM Niveau 0. Ne fait pas partie de la spécification.

\ No newline at end of file diff --git a/files/fr/web/api/window/scrollbypages/index.md b/files/fr/web/api/window/scrollbypages/index.md new file mode 100644 index 0000000000..8419d43545 --- /dev/null +++ b/files/fr/web/api/window/scrollbypages/index.md @@ -0,0 +1,42 @@ +--- +title: Window.scrollByPages() +slug: Web/API/Window/scrollByPages +tags: + - API + - DOM + - Gecko + - Méthode +translation_of: Web/API/Window/scrollByPages +--- +

{{ ApiRef() }}{{Non-standard_header}}

+ +

Fait défiler le document du nombre de pages spécifié.

+ +

Syntaxe

+ +
window.scrollByPages(pages)
+
+ +

Paramètres

+ + + +

Exemples

+ +
// fait défiler le document d'une page vers le bas
+window.scrollByPages(1);
+
+// fait défiler le document d'une page vers le haut
+window.scrollByPages(-1);
+
+ +

Notes

+ +

Voir aussi window.scrollBy, window.scrollByLines, window.scroll, window.scrollTo.

+ +

Spécification

+ +

DOM Niveau 0. Ne fait pas partie de la spécification.

\ No newline at end of file -- cgit v1.2.3-54-g00ecf