[Optimoz] scrollTo() in frames?
Jens Bannmann
jens.b at web.de
Wed Aug 3 22:31:38 EDT 2005
Mark Lengowski schrieb:
> The gestures for moving to the beginning and end of a page don't work
> when the page is composed of frames.
>
> The gesture script completes without any errors but has no effect on
> the position of the page. The scripts are just calls to scrollTo().
The following JavaScript snippets will work with normal and framed pages
(and even View Source and E-Mails in Thunderbird)
Scroll to top:
globalSrcEvent.view.scrollTo(0, 0);
Scroll to bottom:
globalSrcEvent.view.scrollTo(0, 10000000);
Best regards,
Jens
More information about the Optimoz
mailing list