Phillip Parr wrote:
[color=blue]
> Hey peeps, I'm trying to get a webpage open and start scrolled fully to the
> bottom. How should I go about this?[/color]
Two ways:
1. Put an anchor at the bottom and include it in the URI
for the page, e.g. http://<someURI>/page.html#end
2. Use an onload function that includes a window.scrollBy ()
with a very large number (say 100000).
Method 1. is greatly preferred as window.scrollBy () is
legacy and not part of current spec.
"RobG" <rgqld@iinet.ne t.auau> wrote in message
news:jn16d.1398 $aA.51501@news. optus.net.au...[color=blue]
> Phillip Parr wrote:
>[color=green]
>> Hey peeps, I'm trying to get a webpage open and start scrolled fully to
>> the bottom. How should I go about this?[/color]
>
> Two ways:
>
> 1. Put an anchor at the bottom and include it in the URI
> for the page, e.g. http://<someURI>/page.html#end
>
> 2. Use an onload function that includes a window.scrollBy ()
> with a very large number (say 100000).
>
> Method 1. is greatly preferred as window.scrollBy () is
> legacy and not part of current spec.
>
> Rob.[/color]
JRS: In article <jn16d.1398$aA. 51501@news.optu s.net.au>, dated Mon, 27
Sep 2004 23:29:19, seen in news:comp.lang. javascript, RobG
<rgqld@iinet.ne t.auau> posted :[color=blue]
>Phillip Parr wrote:
>[color=green]
>> Hey peeps, I'm trying to get a webpage open and start scrolled fully to the
>> bottom. How should I go about this?[/color]
>
> Two ways:
>
> 1. Put an anchor at the bottom and include it in the URI
> for the page, e.g. http://<someURI>/page.html#end
>
> 2. Use an onload function that includes a window.scrollBy ()
> with a very large number (say 100000).[/color]
3?. Execute something like location.href=" #end", but only after
reaching #end ???
Comment