On Jun 1, 2011, at 10:19 AM, Eric wrote:
On May 31, 5:51 pm, Walter Davis <[email protected]> wrote:
On May 31, 2011, at 11:12 AM, bill wrote:
I need the scroll of the div contents only.
You can back into that by using the cumulative offset, and
subtracting
the document.viewport.getScrollOffsets() from that.
Or you may use yourdiv.scrollTop and yourdiv.scrollLeft
Eric
I knew there was something simpler! Is that completely cross-platform?
I ask because I suspect it's native, and therefore not in the
Prototype Element namespace. Does that mean that it's safe to use in
all browser/OS combos?
Walter
--
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.