Re: remembering where the user is on the page??
| From: | Per Jessen | Date: | Fri, 01 Aug 2008 20:31:13 +0000 |
| Subject: | Re: remembering where the user is on the page?? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-277600@lists.php.net to get a copy of this message | ||
Rod Clay wrote:
> I'm creating a website in php and I've noticed that many websites seem
> to "remember where the user is on the page," so that, for example, the
> user can click on a link and go to another page, but, when the user
> comes back to the original page, it is displayed so that the user is
> looking at the same part of the page that s/he was looking at when
> s/he clicked the link. This is a mystery to me! How do you create a
> webpage so that it "remembers" where the user is on the page and takes
> her/him back to that same place on the page when the user returns?
Look up the "anchor" part of the URL.
/Per Jessen, Zürich