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/scrollto/index.html | 38 ----------------------------- files/fr/web/api/window/scrollto/index.md | 38 +++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+), 38 deletions(-) delete mode 100644 files/fr/web/api/window/scrollto/index.html create mode 100644 files/fr/web/api/window/scrollto/index.md (limited to 'files/fr/web/api/window/scrollto') diff --git a/files/fr/web/api/window/scrollto/index.html b/files/fr/web/api/window/scrollto/index.html deleted file mode 100644 index 753059d1c9..0000000000 --- a/files/fr/web/api/window/scrollto/index.html +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: window.scrollTo -slug: Web/API/Window/scrollTo -tags: - - DOM - - DOM_0 -translation_of: Web/API/Window/scrollTo ---- -

{{ ApiRef() }}

- -

Résumé

- -

Fait défiler le document jusqu'à un jeu de coordonnées particulier.

- -

Syntaxe

- -
window.scrollTo(coord-x,coord-y);
-
- -

Paramètres

- - - -

Exemple

- -
window.scrollTo(0, 1000);
-
- -

Notes

- -

Cette fonction est fonctionnellement identique à window.scroll. Pour un défilement relatif, consultez window.scrollBy, window.scrollByLines et window.scrollByPages.

- -

Spécification

- -

{{ DOM0() }}

diff --git a/files/fr/web/api/window/scrollto/index.md b/files/fr/web/api/window/scrollto/index.md new file mode 100644 index 0000000000..753059d1c9 --- /dev/null +++ b/files/fr/web/api/window/scrollto/index.md @@ -0,0 +1,38 @@ +--- +title: window.scrollTo +slug: Web/API/Window/scrollTo +tags: + - DOM + - DOM_0 +translation_of: Web/API/Window/scrollTo +--- +

{{ ApiRef() }}

+ +

Résumé

+ +

Fait défiler le document jusqu'à un jeu de coordonnées particulier.

+ +

Syntaxe

+ +
window.scrollTo(coord-x,coord-y);
+
+ +

Paramètres

+ + + +

Exemple

+ +
window.scrollTo(0, 1000);
+
+ +

Notes

+ +

Cette fonction est fonctionnellement identique à window.scroll. Pour un défilement relatif, consultez window.scrollBy, window.scrollByLines et window.scrollByPages.

+ +

Spécification

+ +

{{ DOM0() }}

-- cgit v1.2.3-54-g00ecf