On Apr 28, 4:13 pm, Boris Zbarsky <[email protected]> wrote: > On 4/28/11 8:48 AM, yakobom wrote: > > > Can anyone please tell me how can I know the maximum scroll range for > > a given DOM Window? I search all its scrolling APIs, but found no one > > suitable for this purpose... > > It depends on what you mean by "scroll range", but the valid values you > can pass to scrollTo range from 0 to scrollMaxX and likewise for scrollMaxY. > > -Boris
Understood - but my problem is how to get scrollMaxX (or scrollMaxY). I need to know them in order to draw a special scrollbar of mine. yakobom _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
