Tutorial: Using FrontPage with Radio Weblogs
How do I create a back button or link on my site
Q. How do I create a "back" button or link on my site?
A.
There are several ways to do this.
- You can create a hyperlink to an image or text using the following code:
<a href="Javascript:history.go(-1)">Back</a>
Note: (-1) means go back one page. So, for example (-2) would be go back two pages.
or:
- You can use:
<a href='javascript:history.back()'>Back</a>
- For "Buttons" you can use:
<form method="POST" action="Javascript:history.go(-1)"> <input type="submit" value="Back" name="Back"> </form>
© Copyright 2003 David Berry.
Last update: 1/20/2003; 8:25:45 PM.
All products and company names mentioned herein are the trademarks of their respective owners.
Microsoft® and FrontPage® are registered trademarks of Microsoft Corporation in the United States and/or other countries.
|