Is there any cross-browser implementation for browsers viewable area measures, document scrolling positions, document scrolling positions, element positions relative to document.body ?
on 2008-06-25 01:36
on 2008-06-25 08:23
Hi, Based on this question and some others, I'd suggest you take an hour to read through the API documents: http://prototypejs.org/api You'll find that that hour is repaid many, many times. -- T.J. Crowder tj / crowder software / com
on 2008-06-25 18:50
You should go and down load Kangax's most excellent cheet sheet. There's a very helpful diagram. http://prototypejs.org/2008/1/29/prototype-1-6-0-2...
on 2008-06-25 21:47
Very useful diagram. Only problem - there's not any implementation for getting whole real document height.
on 2008-06-25 23:15
I cheat. I put a DIV at the bottom of my HTML the just retrieve the position.
on 2008-06-25 23:26
What about getting "Math.max" of document.body/ document.documentElement and viewport width/height? - kangax