Re: Retaining scroll position after asynchronous refresh NOT PHP

From: Date: Fri, 23 Jul 2010 16:09:34 +0000
Subject: Re: Retaining scroll position after asynchronous refresh NOT PHP
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-307115@lists.php.net to get a copy of this message
At 6:31 AM -0600 7/23/10, Larry Martell wrote:
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
-larry: This not really a PHP problem, but rather a javascript problem. After all, the problem surfaces client-side, right? So, to not offend this list with a non-PHP solution, I am sending you the code privately. Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com

« previous php.general (#307115) next »