I need to detect if a user is scrolled to the bottom of a page. If they are at the bottom of the page, when I add new content to the bottom, I will automatically scroll them
I've just started looking at this and the answers here helped me, so thanks for that.
I've expanded a little so that the code is safe all the way back to IE7: