History.go(-2) : history « Javascript Objects « JavaScript DHTML






History.go(-2)

 <html> <head> <title>History</title> </head> <body> <h1>history object</h1> <a href="" onclick="history.back();return false">history.back()</a><br /> <a href="" onclick="history.go(-2);return false">history.go(-2)</a><br /><br /> <a href="" onclick="history.forward();return false">history.forward()</a><br /> </script> </body> </html> 








Related examples in the same category

1.history back
2.Hsitory.forward()
3.History length
4.A Browser History Count
5.Navigating to an Item in History
close