Showing posts with label goHistory(). Show all posts
Showing posts with label goHistory(). Show all posts

Friday, May 20, 2011

goHistory() method

The goHistory() method takes you back or forward the specified amount of pages.

Browser support: all
TheMadScript Version: 1.0.0

Syntax: goHistory(integer);

To go forward, enter a positive number to go forward (for example, 5 will take you forward 5 pages) or negative number to go backwards.

The syntax below takes the user back two pages:

goHistory(-2);