View Single Post
Old 02-01-2013, 08:28 PM   PM User | #3
felgall
Master Coder

 
felgall's Avatar
 
Join Date: Sep 2005
Location: Sydney, Australia
Posts: 5,451
Thanks: 0
Thanked 496 Times in 488 Posts
felgall is a jewel in the roughfelgall is a jewel in the roughfelgall is a jewel in the rough
The only thing JavaScript can do using history is to jump back or forward by a specified number of entries (provided that there are that many entries in the specified direction or the call will fail).

There is no way to tell what entries there are in history, how many entries there are in history, or where in the list the current page is.
__________________
Stephen
Learn Modern JavaScript - http://javascriptexample.net/
Helping others to solve their computer problem at http://www.felgall.com/
felgall is offline   Reply With Quote