jump to #name
| From: | Richard Creech - DreamRiver.com | Date: | Sun, 05 Nov 2000 13:15:49 +0000 |
| Subject: | jump to #name | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-23782@lists.php.net to get a copy of this message | ||
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.
_________________________________________