Fwd: [PHP] Need a hint how to use an anker on the next page
| From: | Philip Thompson | Date: | Fri, 19 Oct 2007 13:32:10 +0000 |
| Subject: | Fwd: [PHP] Need a hint how to use an anker on the next page | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-263379@lists.php.net to get a copy of this message | ||
---------- Forwarded message ----------
From: Philip Thompson <philthathril@gmail.com>
Date: Oct 19, 2007 8:31 AM
Subject: Re: [PHP] Need a hint how to use an anker on the next page
To: Per Jessen <per@computer.org>
On 10/19/07, Per Jessen <per@computer.org> wrote:
>
> Ronald Wiplinger wrote:
>
> > I have a long page (form), where the user has to return to the place
> > he left last time, or where in that page a question has not been
> > answered.
>
>
> Hi Ronald
>
> When you send the user back (maybe using a redirect), you supply the
> anchor on the URL by appending "#anchor".
>
>
> /Per Jessen, Zürich
Adding to Per's comments...
In the HTML:
<a name="rose"></a>
3. Rose...
In the URL:
http://somewhere.com/somepage.php#rose
HTML specs: http://www.w3.org/TR/html401/
Your specific example:
http://www.w3.org/TR/html401/struct/links.html#h-12.2.1
(notice the anchor
reference in the URL =)
~Philip
(Sorry Per for sending that last one to just you.)