refer to top of page code ~ situation: brain block

They have: 89 posts

Joined: Jul 1999

i can't remember how to do this right.
here's what i THOUGHT i was supposed to do:

. place this code at the top of the page:

. then place this code where i want a link to the top of page:

Return to Top of Page

but, obviously, i've missed something.

appreciate your help!
:scatter:

Military & Combat Knives. Hunting & Fishing Knives. Pocket Knives.
Kitchen Cutlery. Sharpeners.

Enter our Monthly Drawing!!

The Webmistress's picture

She has: 5,586 posts

Joined: Feb 2001

You actually need to put this part in

Return to Top of Page

Vincent Puglia's picture

They have: 634 posts

Joined: Dec 1999

Hi tiny,

some text
the rest of the body.....
go somewhere

1)you can place any phrase within the name & href quotes
2)whatever you do use must be the same for both
3) the href needs the "#" pound sign

if the anchor is on a different page:
page1.html:
...text....
anchor to page2
....text....

page2.html:
some text
the rest of the body....

vinny

Where the world once stood
the blades of grass cut me still

They have: 89 posts

Joined: Jul 1999

all RIGHT! that's it!
you're wonderful!!!

http://knifedealer.net/benchmade2.shtml

Doh!

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

I'm not sure this is still the case with the newest version, but having any text in would cause it to fail in Netscape6 originally.

It was recommended to put just like that above whatever the target is.

Smiling Suzanne

Vincent Puglia's picture

They have: 634 posts

Joined: Dec 1999

Hi Suzanne,

Let me preface this with: I don't have NN6 yet.

What do you mean by:

Quote: It was recommended to put just like that above whatever the target is.

How would you differentiate two or more anchors on the same page? Or do you mean "don't put any text between the anchors"? (which I would think ok, but I think is counter to the recommendations, but then again I haven't read them in a long while.)

Vinny

Where the world once stood
the blades of grass cut me still

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

What I should have said is that N6 will no longer default to the top of the page unless there is a target there.

***

Additionally: Either having text in the target or none, doesn't matter to the validators, but I found that having text in the target without an href would fail in the initial public release of Netscape 6.

<a name="abigail"></a>
<h1>Abigail</h1>

<h2><a name="betsy">Betsy</a></h2>

<p><a href="#abigail">Abigail</a> has a best
friend, <a href="#betsy">Betsy</a>.</p>
'

Both should work, but only the abigail target was working in the initial release of Netscape 6.

Smiling Suzanne

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.