How to display a very long page like dzone.com?
Posted
by user360529
on Stack Overflow
See other posts from Stack Overflow
or by user360529
Published on 2010-06-07T15:02:39Z
Indexed on
2010/06/07
15:12 UTC
Read the original article
Hit count: 159
JavaScript
|jQuery
Hi,
If you ever visit dzone.com you'll notice that all the posts appear on 1 page only. When we scroll that page down, older posts will be added to the end of the page (and maybe some posts at the beginning of the page but outside the view port will be removed).
My questions are: - how to know if the user scrolls down/up with javascript/jQuery? - how to know if the user is at the top of the page (they click Ctrl + Home)?
Thank you.
© Stack Overflow or respective owner