Re: anchor name on URL
| From: | Nathan Rixham | Date: | Tue, 18 Nov 2008 18:43:35 +0000 |
| Subject: | Re: anchor name on URL | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-283479@lists.php.net to get a copy of this message | ||
Stan wrote:
If I had a page written in HTML and I had a named anchor on that page<a name="myAnchor" id="myAnchor"></a> should do the trick<a name=myAnchor></a>I could position the user at the anchor byhttp://myPage.com/myHTML.htm#myAnchorbut I can't seem to make this work if the page is generatedhttp://mypage.com/myPHP.php#myAnchorI've tried both FireFox 3.0.4 and IE 6 SP1. Maybe I'm naive to even expect this to work. Should it work? If not, how can I (can I even) position the user at some point into a long page when the page is generated on the fly? Thanks, Stan