Answers for "how to know actual scroll js"

0

how to know actual scroll js

// horizontal scrolling amount
window.pageXOffset

// vertical scrolling amount
window.pageYOffset
Posted by: Guest on February-24-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language