-
Step 1
Place each method of "back ()," "forward ()" and "go ()" in the pages HEAD section of its own subroutine. Use "history.back ()" to move items backwards in the list, use "history.forward ()" to move items forward in the list and use "history.go ()" to move to a specified place in the list. Input the specified place into the parenthesis "()" to go to in the list.
-
Step 2
Use "history.length" to gather the number of items in your history list. Input "history.go (0)" and "history.forward ()" ending with "history.length" in your page's head section to export the number of items in your history list.
-
Step 3
Retrieve the number of times a use hits the back button on an Internet Explorer page. Code the VBScript to start counting after the back button is pressed "back ()," then the page reloads "go ()" and the forward button "forward ()" is pressed again. Ask for "value = 'History Queue' " to retrieve the number of times. Enter "go(-1)" to reload the page before last when the user hits the "back ()" button.













