Home » , , » Back to previous page with a link

Back to previous page with a link

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.

Copy and paste this code into your HTML where you would like the link to appear:
<a href="javascript: history.go(-1)">Back</a>

Using this little JavaScript snippet is a great way to enable your visitors to navigate your web site.
Share this article :

0 comments:

Post a Comment

 
Copyright © Online Business - All Rights Reserved
Proudly powered by Blogger