PHP Query string and anchor problem
| From: | Bernie Huang | Date: | Tue, 04 Jul 2000 17:23:01 +0000 |
| Subject: | PHP Query string and anchor problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-4783@lists.php.net to get a copy of this message | ||
Hi,
I have a image map splited into 2 parts which have embedded URLs:
-----
HTML
-----
blahblahblah, click the following:
|
A | B
|
-----
PHP
-----
<?
...
echo "
<imap ...>
<area=... coords=... a href=\"same_page.php#jump?some_query_string\">
<image ...>
<!-- set a jump mark, so after clicking user does not have to scroll
down to see this information -->
<a name=\"jump\">
";
...some PHP code...
?>
When a user clicks on either part, it will show a bunch of info below
this image map. It jumps to the target alright, but the problem is that
after clicking the links on image map is gone. Any ideas??
Thanks.
- Bernie