The `Element.scrollTo()` and `Element.scroll()` methods scroll to a particular set of coordinates in an element.
Questions tagged [element-scrollto]
1 questions
2
votes
1 answer
Element.scroll[To]() doesn't work as expected in a userscript
I'm the creator of JANITOR – Java API Navigation Is The Only Rescue which:
Inserts a navigation tree [...] into [...] pages [...].
I lazy-load the content of a branch when it is clicked to open it and the idea is to scroll the selected item to…

Gerold Broser
- 14,080
- 5
- 48
- 107