News for hackers. Stuff that matters.
Re:Coding Horror: The End of Pagination by zackham on Tuesday March 27, 2012 @08:50PM (#3764178)
When you remove your content, measure it first and keep your new content properly offset. This way the scrollbar won't change since your new content is positioned correctly. The old content is removed from the DOM, but the space it took up is still accounted for.

There are no comments on this comment yet.