W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2011

[whatwg] onForward and onBackward event and enable/disable Forward and Backward buttons.

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 18 Jul 2011 21:13:42 +0000 (UTC)
Message-ID: <Pine.LNX.4.64.1107182112210.2079@ps20323.dreamhostps.com>
On Sat, 16 Apr 2011, Biju wrote:
> So I want to suggest we should add onBackward and onForward events for
> a page which will be triggered when user click the Backward  or
> Forward button.

We essentially already have this ability using onpopstate and 
onhashchange. It lets authors hook into the session history and makes 
things work. Before we add more features along these lines, we should wait 
to see how authors are adopting the feature we already have.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 18 July 2011 14:13:42 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:34 UTC