JavaScript back button

From D3xt3r01.tk
Revision as of 11:38, 26 January 2012 by Admin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Info

Would you like to enable your visitors to click on a link to be taken back to the previous page they were on? This JavaScript will enable you to do just that. This JavaScript code is great for use in pop up windows when you're running image slide shows, displaying multiple tips, step by step instructions or whatever you'd like.

Code

history.go(-1)

Example

<a href="javascript: history.go(-1)">Back</a>