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

Ian Hickson ian at hixie.ch
Mon Jul 18 14:13:42 PDT 2011


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.   `._.-(,_..'--(,_..'`-.;.'


More information about the whatwg mailing list