Methods and Properties of the History Object : History « Window Browser « JavaScript DHTML

Home
JavaScript DHTML
1.Ajax Layer
2.Data Type
3.Date Time
4.Development
5.Document
6.Dojo toolkit
7.Event
8.Event onMethod
9.Ext JS
10.Form Control
11.GUI Components
12.HTML
13.Javascript Collections
14.Javascript Objects
15.Javascript Properties
16.jQuery
17.Language Basics
18.Mochkit
19.Mootools
20.Node Operation
21.Object Oriented
22.Page Components
23.Rico
24.Scriptaculous
25.Security
26.SmartClient
27.Style Layout
28.Table
29.Utilities
30.Window Browser
31.YUI Library
JavaScript DHTML » Window Browser » History 
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. 

           
       
Related examples in the same category
1.History 'back()' Example
2.History 'forward()' Example
3.A Browser History Count
4.Use history back button
5.Go Back to previous Page
6.Go Back to some step
7.Go Back to previous Page using number
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.