Mega Code Archive

 
Categories / JavaScript DHTML / Window Browser
 

Methods and Properties of the History Object

Type         Item             Description   Method       back()           Loads the last URL in the history list.                forward()        Loads the next URL in the history list,                                  assuming you have gone back at some point.                go()             Loads a URL from the history list by using the offset passed.   Property                current          Refers to the current URL in the history list.                 length           Returns the number of entries in the history list.                next             Refers to the next URL in the history list.                 previous         Refers to the previous URL in the history list.