Re: jump to #name
| From: | Floyd Baker | Date: | Sun, 05 Nov 2000 15:57:58 +0000 |
| Subject: | Re: jump to #name | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-23789@lists.php.net to get a copy of this message | ||
Richard
For you and others on the list, it turned out to be 'spaces'. I was using the
'headline' sentence from the database, and never thought about spaces as being
illegal. Thanks for the assistance.
Floyd
On Sun, 05 Nov 2000 05:15:49 -0800, you wrote:
>Floyd,
>I use the jump to #name without problem in php when using an included file. It seems that two
>things matter the most:
>
>1. the anchor must be named:
><a name="myAnchorName">text or image to anchor</a>
>
>2. the link must point to the anchor:
><a href="#myAnchorName">Go to Anchor</a>
>
>It is plain html, and php will spit it out as plain html. Perhaps looking at your code for a
>typo or some such irritant may help? It may not work if it is not nested properly, or if the anchor
>is not closed, or if you are trying to anchor something that is not text or image (your browser
>mileage may vary). It is NOT likely to be a php caused problem. The jump #name works for me in
>several instances.
>
>Regards,
>
>Richard Creech
>richardc@dreamriver.com Phone: 250.744.3350 Pacific Time Canada
>Get a free link at http://www.dreamriver.com/phpYellow/
>Download phpYellow Pages 2000 - Now shipping Version 1.05 with EasySQL!
>Add Dynamic Database Content to your Website
>http://dreamriver.com/software/
>
>
>Floyd Baker <fbaker@olm1.com> wrote:
>
><snip>
>Hello people.
><snip>
>but... jumping from the 'headlines' down to the items doesn't work
>at all... This is from the top of the included file to the lower portion of
>that same included file.
>
>Has someone overcome this problem?
>
>Appreciate any word that anyone might have... Thanks in advance.
>_________________________________________
>
--