Index u_home.gif Up History Object



Description

An object that resides below the window in the scripting object model. This object accesses the history list from the browser.

The history object exposes methods for navigating through the current history.

Methods

back, forward, go

Properties

length


Index u_home.gif Up Properties




Index u_home.gif Up length Property



Description

Returns the length of the history list.

Syntax

history.length

PartDescription
history An object expression that evaluates to a history object.

Return Value

Returns the number of entries in the history.

Always returns zero in current implementation.

Applies To

History

Methods

back, forward, go


Index u_home.gif Up Methods




Index u_home.gif Up back Method



Description

Jumps back in the history n steps. This behaves exactly as if the user has clicked on the back button n times.

Syntax

history.back n

PartDescription
history An object expression that evaluates to a history object.
n The number of pages to jump back in the history. n is always an integer >= 0.

Applies To

History

Methods

forward, go

Properties

length


Index u_home.gif Up forward Method



Description

Jumps forward in the history n steps. This behaves exactly as if the user has clicked on the forward button n times.

Syntax

history.forward n

PartDescription
history An object expression that evaluates to a history object.
n The number of pages to jump forward in the history. n is always an integer >= 0.

Applies To

History

Methods

back, go

Properties

length


Index u_home.gif Up go Method



Description

Goes to the n th item in the history, where history.go 1 jumps to the first item in the history.

Syntax

history.go n

PartDescription
history An object expression that evaluates to a history object.
n The index of the history entry.

Applies To

History

Methods

back, forward

Properties

length

© 1997 Microsoft Corporation. All rights reserved. Legal Notices.