Maybe this might help. http://www.prototypejs.org/api/element/scrollto
On Wed, Aug 5, 2009 at 1:33 PM, DJJQ<[email protected]> wrote: > > Oh my god my english was terrible in my post, sorry about that. > I'll try to explain the problem again: > On my php page I have a link a long way down the page, so users have > to scroll down a bit. the link triggers an ajax.update on the page. > When users press the link the browser returns to the top of the page. > How do I restore the browser position to where the link is? (So the > scroller position remains unchanged when calling ajax update) > > > > On Aug 5, 9:45 pm, "Alex McAuley" <[email protected]> > wrote: >> Can you explain it a bit better please... i cant really understand what you >> mean by that >> >> Thanks >> >> Alex Mcauleyhttp://www.thevacancymarket.com >> >> >> >> ----- Original Message ----- >> From: "DJJQ" <[email protected]> >> To: "Prototype & script.aculo.us" <[email protected]> >> Sent: Wednesday, August 05, 2009 8:22 PM >> Subject: [Proto-Scripty] Browser scroller position after Ajax.Update >> >> > Hello. >> > My problem when is apparent on my page. The div to be updated (and >> > link) are a long way down the page so users have to scroll down. >> > When they press the link and thus update the div the browsers scroller >> > returns to top, forcing the user to scroll down again to the div. >> > Is there any "quickfix" (like option I have missed) or more advanced >> > solution? >> >> > Best Regards and Thanks in Advance, Joel > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---
