Re: Retaining scroll position after asynchronous refresh NOT PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 23, 2010 at 10:09 AM, tedd <tedd.sperling@xxxxxxxxx> 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

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux