Click to See Complete Forum and Search --> : [RESOLVED] Target Specific Location on Another Page


csramin
03-31-2006, 03:13 PM
How do you link to a specific area on a different page?

I know how to do it on the same page...

<a href="#section1">Button</a>

<a name="section1"></a>Section page will jump to.


..but how do I target another page too?

Kravvitz
03-31-2006, 03:32 PM
Assuming the other page has a named anchor or an element with an ID in the right place:
<a href="someotherpage.html#section1">Button</a>

jshalcott
03-31-2006, 03:33 PM
Simple just make a regular link, then add the anchor name from the other page. like this:

<a href="section1.html#section1">Go to a different page in a certain spot</a>

csramin
03-31-2006, 03:51 PM
Brilliant. I'm not sure why I didn't just try that.

Thanks.