Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm not sure why anyone is using scrolling events for any standard websites at all. It's much easier to have a function on timer that detects the current viewport position and acts accordingly. The code is simpler, the performance is better, and it's way more future-proof.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: