history
-
Holds information about the pages viewed before and after this one.
-
Good for using in marketing.
-
Properties of the array:
-
history.length the length of the history array.
-
history.current information about the current page.
-
history.previous information about the previous page.
-
history.next information about the next page (if available).
-
Methods:
-
history.go(integer) go integer steps forward (+)
or backwards (-).
-
history.back() go to the previous location.
-
history.forward() go to the next location
eBay
Example
location object
Home
Internet II: Day 3