yeah, try $("myContainer").scrollTop
On Nov 7, 5:10 pm, Shane McCarron <[email protected]> wrote:
> I have an element that has overflow:auto. The contents of the element are
> updated from time to time via ajax calls. I want to ensure that when this
> happens, if the user has scrolled down into the content, their scroll
> position stays the same even through the content is effectively
> regenerated. Is there a way to get the scrollTop for an element?
>
> --
> Shane McCarron
> [email protected]
--
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.