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);
No comments:
Post a Comment