[Optimoz] scrollTo() in frames?

Mark Lengowski mlengowski at gmail.com
Wed Aug 3 22:37:03 EDT 2005


Jens,

You are a dood and a scholar.

Thanks.


On 8/3/05, Jens Bannmann <jens.b at web.de> wrote:
> 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