gpallis commented on a Page, Scroll Append - Inifinite/Endless Scroll  -  Nov 21, 2012

Hi Hawkee,
It's very elegant! The issue I'm having is that if I visit the site, scroll down a little, then refresh the page or return after browsing another site, the values sent as 'page number' don't reset to one, but rather stay at whatever they were at during my last visit. The line I'm commenting out is "self.page = localStorage.getItem('p_'+self.param_key);" - it seems from this time that the behaviour I'm describing is intentional, so I'm trying to get my head around what advantages it offers! My use case is fairly typical - a leaderboard that the user can scroll down.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.