"Frank Rudolph" <fjr22 (AT) comcast (DOT) net> wrote
Quote:
Does anyone know if it is possible to code an HTML control that does the
equivalent of the "back arrow"?
I'd like to jump back to parent or grandparent page and eliminate the
current page from the navigation stack.
- Frank Rudolph |
sample code:
<a href="javascript
:history.back(1)"><img valign=bottom border=0
src="back.gif"> Back</a>
That is the code that is on 404 error pages. All you need is the
<a href="javascript
:history.back(1)"></a> part. Fill in whatever you want
for the link. It's not the best idea to use that though in most cases.
It's a better idea just to link to where you want the person to go. There
are uses for the back arrow script though, such as the 404 page.
Hope this helps.
--
Saber
My Site:
www.saber-online.com
My Forum:
www.saber-online.com/phpBB2/index.php