Link to home
Start Free TrialLog in
Avatar of kevinb4940
kevinb4940

asked on

Link to location on another webapge

On my website I have 2 pages, Index.php & careers.php

How Do I link from index.php to a specific spot on my career.php page? (ie: Half way down my careers.php page

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Rouchie
Rouchie
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of kevinb4940
kevinb4940

ASKER

Thanks I understand that. however I am linking from an image map on index.php to careers.php
Is the syntax below correct? I tried this without any luck

Index.php
<map name="Map" id="Map"><area shape="rect" coords="0,117,84,137" href="/careers.php#linktarget01" />

Careers.php
<p id="linktarget01">
Doctors</p>

Thanks
Sorry my mistake. It works now! Thanks 500 points are yours
Avatar of SheharyaarSaahil
you can use an anchor point in your careers.php where you want the page to be loaded via index.php
like;

<a name="location"></a> your text here

then in your index.php, give the link as follows;

<map name="Map" id="Map"><area shape="rect" coords="0,117,84,137" href="/careers.php#location" />