You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Scott Eade <se...@backstagetech.com.au> on 2001/08/31 12:36:30 UTC
Referring page for a Back link
What is the easiest way to obtain the referring page?
I want this so that I can create a "back" link.
Thanks,
Scott
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org
Re: Referring page for a Back link
Posted by Bartek Walter <Ba...@man.poznan.pl>.
Scott Eade wrote:
> I'm wondering if there is a better way that uses JavaScript
> to simulate a click on the browser's Back button. Any
> ideas?
<A HREF="javascript:history.go(-1)">Back</A>
Bartek Walter
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org
Re: Referring page for a Back link
Posted by Scott Eade <se...@backstagetech.com.au>.
From: "Scott Eade" <se...@backstagetech.com.au>
> What is the easiest way to obtain the referring page?
> I want this so that I can create a "back" link.
>
> Thanks,
>
> Scott
Nobody replied :-(
Here is my answer:
$data.Request.getHeader("Referer")
I'm wondering if there is a better way that uses JavaScript
to simulate a click on the browser's Back button. Any
ideas?
Cheers,
Scott
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org