Re: Retaining scroll position after asynchronous refresh NOT PHP

From: Date: Fri, 23 Jul 2010 17:13:34 +0000
Subject: Re: Retaining scroll position after asynchronous refresh NOT PHP
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-307118@lists.php.net to get a copy of this message
On Fri, Jul 23, 2010 at 10:09 AM, tedd <tedd.sperling@gmail.com> wrote: > 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? >> > how are you doing the refresh? a location header or http meta tag? both of those are gross imo - try ajax and i bet your problem goes away. -nathan

« previous php.general (#307118) next »