On 5/9/11 4:10 AM, yakobom wrote:
Hi, I still have some issues with this - the values I get seem incorrect. For example - in YouTube, the value I get for max Y is smaller than the visible view. Any idea?
I said, the values for scrollMaxY range from 0 to the largest value you can pass to scrollTo.
The values you can pass to scrollTo are the possible scroll positions of the top of the viewport.
So the largest value you can pass to scrollTo for the y position is (height of page) - (height of viewport). This is what scrollMaxY will return.
-Boris _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
