You are here: Re: Link, name, parameter and anchor « HTML « IT news, forums, messages
Re: Link, name, parameter and anchor

Posted by Jonathan N. Little on 03/19/07 15:56

Maxime wrote:
>
> "Els" <els.aNOSPAM@tiscali.nl> a écrit dans le message de news:
> f7q05l1eaq3s$.kb36s03uhsu3$.dlg@40tude.net...
>> Maxime wrote:
>>
>>> But now I have to do the same with a target page (in PHP) with a
>>> parameter.
>>> The target URL is then "target_page.php?parameter=xxx" but how do I
>>> specify
>>> the anchor ? Using <a
>>> href="target_page.php#position?parameter=xxx>link</a>
>>> doesn't work.
>>
>> Have you tried <a
>> href="target_page.php?parameter=xxx#position>link</a> ?

> Yes of course but it doesn't work neither, it thinks that the value of the
> parameter is "xxx#position" !
>

Works for me:

http://www.littleworksstudio.com/gallery.php?sr=20&gid=D1#BMcres0047
Objets D'Art Online Gallery of Little Works Studio

BTW You do not have to use the old named A element to create an anchor.
Just set any element's ID

<p id="position">Lorem ipsum dolor sit amet, consectetuer...

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация