Retaining scroll position after asynchronous refresh

From: Date: Fri, 23 Jul 2010 12:31:14 +0000
Subject: Retaining scroll position after asynchronous refresh
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-307111@lists.php.net to get a copy of this message
Hello all- I have a php script that generates a web page with a bunch of scrollable frames, and then asynchronously refreshes the page. If the user has scrolled down in any of the frames, when the refresh occurs it has scrolled back to the top of all the frames. Is there a way I can retain the scroll position so after the refresh the frames are shown at the same location as before the refresh? I have googled and googled for this, but everything I find is ASP or C# or Java. My stuff is straight php/html. How can I do this with that? TIA! -larry

« previous php.general (#307111) next »