Best way to go to the top of a page

  • Thread starter Thread starter Johnny
  • Start date Start date
J

Johnny

Hello, and I know this isn't specific to Front Page, but there are some
very helpful people here.

At the bottom of a quite long page I want to create a link to the top of
that very page.

Assume the page is named longpage.htm and that the link is "TOP OF LONG
PAGE."

What are the pros and cons of these two methods, and is there a better
way?

Method 1

<a href="#top">TOP OF LONG PAGE</a>

Method 2

<a href="longpage.htm">TOP OF LONG PAGE</a>

In particular I'm interested in which method will load the page faster,
but I certainly want to know about any other other differences. They do
both work at all, don't they?

Thanks.

--Johnny
 
<a href="#top">TOP OF LONG PAGE</a>
will be faster as it doesn't reload the page from the server.


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
...more information on "bookmarks" can be found in the FP help files, prolly
under "hyperlinks".
--
===
Tom "Pepper" Willett
Microsoft MVP - FrontPage
---
About FrontPage 2003:
http://office.microsoft.com/home/office.aspx?assetid=FX01085802
FrontPage 2003 Product Information:
http://www.microsoft.com/office/frontpage/prodinfo/default.mspx
Understanding FrontPage:
http://msdn.microsoft.com/office/understanding/frontpage/
FrontPage 2002 Server Extensions Support Center:
http://support.microsoft.com/default.aspx?scid=fh;en-us;fp10se
===
 

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

Back
Top