PDA

View Full Version : Cant figure this command out!


jfrovich
17-08-2006, 14:32/02:32PM
Im sure this is SO easy

Im trying to link to a specific item on a different page
I know who do this is on the same page

Its simply example
<a href="#link"> then on the section i want to links to add this
<a name="link"></a>

but how do i link to <a name="link"></a>
from a different page?

Im stumped

WebSavvy
17-08-2006, 14:51/02:51PM
OK, using the following example I'll explain it (very simple to do).

Page One has the URL of
http://supportcave.com/page1.htm

On that page you'd need to have the link targeted area as follows:

<a id="my_target"></a>
(use whatever name you want -- doesn't need to be my_target)

Now, on the page that will link to the targeted link on /page1.htm

You simply need to do this:

<a href="http://supportcave.com/page1.htm#my_target">anchor text</a>

Easy enough, eh? :)

jfrovich
17-08-2006, 15:33/03:33PM
thanks
that was very similar to what i had
and i actually had it working
BUT thier wasnt enough text to fill my screen so i thought i did it wrong..
silly me
and with a different monitor size, it should work just great