RE: Truly going back
by "Charlton, Mark" <Mark.Charlton(at)saint-gobain.com>
|
| Date: |
Fri, 4 May 2001 17:13:04 -0400 |
| To: |
"'Justin H.'" <justinh(at)whidbey.net>, HWG Techniques <hwg-techniques(at)hwg.org> |
| |
todo: View
Thread,
Original
|
|
you can use javascript in the href parameter.
e.g. <.a href="javascript:history.go(-1)">BACK<./a>
removing the need for the onclick and the return false.
I also used another notation for the back command
Mark
-----Original Message-----
From: Justin H. [mailto:justinh(at)whidbey.net]
Sent: Friday, May 04, 2001 3:48 PM
To: HWG Techniques
Subject: Re: Truly going back
On a side note:
<.a href="#" onClick="history.back();return false;">
That way the click event will stop being processed at that point. It
reduces confusion. :-)
Justin H.
----- Original Message -----
From: "Chuck Evans" <chuck.evans(at)click2learn.com>
To: "'HWG Techniques'" <hwg-techniques(at)hwg.org>
Cc: "'Ryan Mann'" <ll_wolverine_ll(at)hotmail.com>
Sent: Friday, May 04, 2001 11:30 AM
Subject: RE: Truly going back
> <.a href="#" onClick="history.back()">Your Back Button Here</a>
>
> That, off the top of my head, should do it, but check it out to be sure.
The
> warning is that it only works if Javascript is enabled. My own personal
> opinion is that browsers have Back buttons that everyone knows about, so
why
> bother to build back buttons at all?
>
> -Chuck Evans
>
> -----Original Message-----
> From: Ryan Mann [mailto:ll_wolverine_ll(at)hotmail.com]
>
>
> I really need your help! I have a "back" button on my site, the problem is
> it doesn't go to the "true" last place the visitor was at. It just goes up
a
> level, basically the last logical place they were at.
>
> If you don't know what I'm talking about please check it out at
> http://www.cbccts.ca/cbcmain/academics.htm
> <http://www.cbccts.ca/cbcmain/academics.htm>
>
> This maybe would be a problem except the "back button" appears on over 200
> pages. Is there any code or script that takes a look at the history list
and
> goes to the last place on the history list.
>
> I need my back to be a true back. I'm sure you understand my problem. (I
> hope so)
>
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.