Dom.browser.enablepagenavigationhistory(), Dom.browser.getpagenavigationhistorylength(), Dom.browser.getpagenavigationhistoryposition() – Adobe Dreamweaver API Reference CS5 User Manual
Page 366
361
DREAMWEAVER API REFERENCE
Dynamic documents
Last updated 8/27/2013
A Boolean value that indicates whether the browser is tracking the pages.
dom.browser.enablePageNavigationHistory()
Availability
Dreamweaver CS5.
Description
This function is used to enable or disable the browser history.
Arguments
bool
A Boolean value that indicates whether the browser history should be enabled or disabled. Specify
true
for enabling
the browser history.
Returns
bool
A Boolean value:
true
if the operation succeeds.
dom.browser.getPageNavigationHistoryLength()
Availability
Dreamweaver CS5, Deprecated from Dreamweaver CS7
Description
This function is used to determine the number of items in the browser history list.
Arguments
None
Returns
int
An integer representing the number of items in the history list.
dom.browser.getPageNavigationHistoryPosition()
Availability
Dreamweaver CS5, Deprecated Dreamweaver CS7
Description
This function is used to determine the user’s current position in the browser history list. The current position is usually
the value of
getPageNavigationHistoryLength()-1
for the most current page. However, if the user has gone back
in the history list, the value of the current position changes.