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

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