Re: [whatwg] Proposing: "autoscroll" event

So, to that end, what about just adjusting the spec for the "hashchange"
event to also fire when the page is initially loaded if the URL contains a
fragment identifier (hash)?  The other scenarios mentioned would already be
covered by the "hashchange" event.

Sincerely,
    James Greene



On Tue, May 14, 2013 at 12:48 PM, Kyle Simpson <getify@gmail.com> wrote:

> > when should autoscroll be called? only after a url with a hash is
> clicked in the same page? when following a link to a : url#specific_hash?
> both cases?
>
> I initially conceived it as only firing on initial page load for a
> URL#hash, so definitely that case. But I can also see how it might be
> useful to listen for such events even when clicking within the same
> document, so I'd certainly entertain that addition. :)
>
>
> --Kyle
>
>
>
>

Received on Tuesday, 14 May 2013 17:56:05 UTC