Mention scrollX and scrollY
They are how pageOffsetX and pageOffsetY are listed in MDN. For completeness, and so a search for one of those terms will bring up this page.
This commit is contained in:
parent
9e52cf3e14
commit
5b14645cd8
1 changed files with 2 additions and 0 deletions
|
@ -73,6 +73,8 @@ alert('Current scroll from the left: ' + window.pageXOffset);
|
|||
|
||||
These properties are read-only.
|
||||
|
||||
(note: `pageXOffset` and `pageYOffset` are aliases for `scrollX` and `scrollY`, but provide greater cross-browser compatibility.)
|
||||
|
||||
## Scrolling: scrollTo, scrollBy, scrollIntoView [#window-scroll]
|
||||
|
||||
```warn
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue