Skip to content

Commit 4e30945

Browse files
committed
Update 2-ui\1-document\10-size-and-scroll-window\article.md
1 parent a65802b commit 4e30945

File tree

1 file changed

+3
-3
lines changed
  • 2-ui/1-document/10-size-and-scroll-window

1 file changed

+3
-3
lines changed

2-ui/1-document/10-size-and-scroll-window/article.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Window sizes and scrolling
1+
# Dimensioni e scorrimento della finestra del browser
22

3-
How do we find the width and height of the browser window? How do we get the full width and height of the document, including the scrolled out part? How do we scroll the page using JavaScript?
3+
Come scoprire la larghezza e l'altezza della finestra del browser? Come ricavare la larghezza e l'altezza totali del documento, incluse le parti fuori dall'area visibile di scorrimento? Come far scorrere la pagina tramite JavaScript?
44

5-
For this type of information, we can use the root document element `document.documentElement`, that corresponds to the `<html>` tag. But there are additional methods and peculiarities to consider.
5+
Per questo genere di informazioni possiamo utilizzare l'elemento radice del documento `document.documentElement`, che corrisponde al tag `<html>`. Ci sono, tuttavia, ulteriori metodi e peculiarità da considerare.
66

77
## Width/height of the window
88

0 commit comments

Comments
 (0)