Back to the top of page link

C

Cal Lehman

I have about 120 pages on my web site and want to place a
Back to top link on each page. Is there an easy to do
this or do I have to go on each page one at a time create
a bookmark at the top then a link to it at the bottom?

Thank you
Cal Lehman
 
J

Jim Buyens

-----Original Message-----
I have about 120 pages on my web site and want to place a
Back to top link on each page. Is there an easy to do
this or do I have to go on each page one at a time create
a bookmark at the top then a link to it at the bottom?

In FP2002 and earlier, you could add top and bottom shared
borders to the entire site. The top shared border would
contain your bookmark and the bottom shared border would
contain your link. Test this, however, because it may add
blank space to the top of your page.

In FP2003, you could also do this by applying a Dynamic
Web Template, or with a very fancy Search/Replace. For
example, to add the bookmark:

1. Open your Web site.
2. Choose Replace from the Edit menu.
3. Click the HTML Tags tab.
4. Set Find Tag to Body.
5. Set Replace Action to Add After Start Tag.
6. Set With to <a name=top></a>
7. Set Find Where to All Pages.
8. Click Replace All or, to monitor the operation,
Find In Site.

The Search/Replace to add the Top link would be similar.
You would add <a href="#top">Top</a> before the end tag
for body.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
|| Microsoft FrontPage Version 2002 Inside Out
|| Web Database Development Step by Step .NET Edition
|| Troubleshooting Microsoft FrontPage 2002
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 

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

Similar Threads


Top