From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/fr/web/api/window/scrollbypages/index.html | 46 ++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 files/fr/web/api/window/scrollbypages/index.html (limited to 'files/fr/web/api/window/scrollbypages/index.html') diff --git a/files/fr/web/api/window/scrollbypages/index.html b/files/fr/web/api/window/scrollbypages/index.html new file mode 100644 index 0000000000..e352ef57e0 --- /dev/null +++ b/files/fr/web/api/window/scrollbypages/index.html @@ -0,0 +1,46 @@ +--- +title: Window.scrollByPages() +slug: Web/API/Window/scrollByPages +tags: + - API + - DOM + - Gecko + - Méthode +translation_of: Web/API/Window/scrollByPages +--- +

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

+ +

Description

+ +

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.

+ +

{{ languages( { "ja": "ja/DOM/window.scrollByPages", "pl": "pl/DOM/window.scrollByPages", "zh-cn": "zh-cn/DOM/window.scrollByPages" } ) }}

-- cgit v1.2.3-54-g00ecf