Re: Getting max scroll range (Gecko 2.0)
Boris Zbarsky <[email protected]> Thu, 28 Apr 2011 09:13:36 -0400
| Newsgroups | gmane.comp.mozilla.devel.embedding |
|---|---|
| Message-ID | <[email protected]> |
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