Back to top

L

lhaldenwang

Hi,
How do I get a page to 'jump' to a certain place on the page, eg. when you
scroll to the bottom of a page and there's a link to 'back to top'?
Thanks
Lisl
 
A

Andrew Murray

If you don't want just the "Top" idea, you create a Bookmark, to jump to any
place in a page. At the place you want to jump to (in FP this is Insert >
Bookmark).

Then, at the place you want the link to the bookmark, highlight the text,
right click , create hyperlink, then in the hyperlinks screen go to
"Bookmarks" button, and it will list all for that page. Choose the one you
want. Click OK out of the screens.

To add a link to a book mark in another page and link to it from a different
page, create the bookmark in the "destination" page (as per above) then from
the "source" page, create the link in the Hyperlinks box, put the web
address in the field, then click the "Bookmarks" button, and you'll find the
bookmark listed on the page you're linking to. CHose it and OK out of the
windows.

In both cases, test/preview in browser(s) as this may not work in FP Preview
mode.
 
M

Murray

Actually, you need two parts to that:

1. Something at the top of the page with a NAME/ID of 'pageTop' (I don't
use "top" since it is sometimes treated as a reserved word -

<a name="pageTop"><img src="whatever.jpg"...></a>

or

<h1 id="pageTop">This is the top of the page</h1>

2. A link to that named anchor where you want the jump link -

<a href="#pageTop">Back to top</a>
 
T

Trevor L.

lhaldenwang said:
Hi,
How do I get a page to 'jump' to a certain place on the page, eg.
when you scroll to the bottom of a page and there's a link to 'back
to top'? Thanks
Lisl

Wan't this just answered?

At the point to jump to
<a name= "at_the_top"></a>

At the point to jump from
<a href= "at_the_top">Go to Top</a>
 
M

Murray

Point is this -

1. The named element works best when it has content.
2. The named element needn't be <a name="whatever>, it can be any element
with an ID value, too, e.g.,

<h1 id="pageTop">Top of page</h1>
 
T

Thomas A. Rowe

I also ways use:
<a href="#top">Top</a>
--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage
==============================================
Agents Real Estate Listing Network
http://www.NReal.com
==============================================
 
M

Murray

I never use "top" since it can be treated as a reserved word - don't ask me
who or when....
 
T

Trevor L.

Murray said:
Sometimes. In some browsers.

I am not the OP, just following up:

Yes, I noticed that it has worked for me. But I note the warning , so I guess it is best to use a named element (and not "top").

Or should that be an IDed element - except there is no such word as IDed :))
 
M

Murray

Whatever floats your boat, really. Name or ID both work.

I usually use an ID, but whatever.... 8)
 
M

Murray

That's correct. I no longer consider NN4x in my layout work. And, for what
it's worth, I believe the ID method does work in IE5.5, but have not
checked....
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top