|
Posted by tomek on 09/29/08 11:28
no... still nothing...
"JDS" <jeffrey@example.invalid> wrote in message
news:pan.2005.10.04.17.21.26.694232@example.invalid...
> On Tue, 04 Oct 2005 18:50:40 +0200, ToMeK wrote:
>
>> "Dikkie Dik" <nospam@nospam.org> wrote in message
>> news:dhuaff$i2i$1@news.cistron.nl...
>>> Does index.php#anch1?page=aboutus.php work?
>>
>> hm.. no, I think it's because, anchor is on aboutus.php page...
>>
>> this looks like this:
>> [index.php]
>> ========
>> <html><body>
>> <!-- header menu-->
>> <a href="<?php echo $_server['php_self'];?>?page=aboutus.php"> load
>> aboutus
>> page</a>
>>
>> <?php include $_GET['page']; ?>
>> </body></html>
>>
>> [aboutus.php]
>> =========
>> <a href="#anch1">go to anchor1</a>
>> bla bla... content
>> <a name="anch1></a>here's contet under anchor1
>> bla bla... content
>>
>> now, when i click on link in index.php page, it loads aboutus.php page
>> correctly, but then this anchor link in aboutus.php page doesn't work
>> (only
>> in IE, in FFit works)
>
> Encode the pound sign (#) as an html entity:
>
>> <a href="<?php echo $_server['php_self'];?>?page=aboutus.php%23"> load
>
> Note the "%23" added to the above URL
>
>> aboutus
>
> --
> JDS | jeffrey@example.invalid
> | http://www.newtnotes.com
> DJMBS | http://newtnotes.com/doctor-jeff-master-brainsurgeon/
>
Navigation:
[Reply to this message]
|