I'm a web developer, graphic designer, type designer, musician, comicbook-geek, LEGO-collector, food lover … as well as husband and father, located just south of Copenhagen, Denmark.
Haha, yeah, the default values are the loudest possible! As I write in the article, I haven't looked into scroll-stuff like pageYOffset yet, because I'm considering changing the script to using offsetY instead of clientY, so I don't have to worry about nested scrolling etc. It's still work-in-progress, though!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Haha, yeah, the default values are the loudest possible! As I write in the article, I haven't looked into scroll-stuff like
pageYOffset
yet, because I'm considering changing the script to usingoffsetY
instead ofclientY
, so I don't have to worry about nested scrolling etc. It's still work-in-progress, though!