Bookmark - Return Top of page with Shared Top Borders ?

T

tmb

I've got a long webpage listing items and want a "Return to Top" link at
certain points in the long list.

But, I'm using shared borders.

When I put the Bookmark at the first line under the shared border, returning
to the bookmark doesn't return me all the way to the top.

If I put it in the shared border, will it be a bookmark on every page?

thanks for any help
 
T

Thomas A. Rowe

You don't need to create actual bookmark, just change you Return To Link URL to #top

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
S

Stefan B Rusynko

Or open your top shared border page (in the _borders folder) to add the bookmark to something at the top of your page (say the
banner), then open your main page (or your bottom shared border page) and add your bookmark link

--




| You don't need to create actual bookmark, just change you Return To Link URL to #top
|
| --
| ==============================================
| Thomas A. Rowe (Microsoft MVP - FrontPage)
| WEBMASTER Resources(tm)
|
| FrontPage Resources, WebCircle, MS KB Quick Links, etc.
| ==============================================
| To assist you in getting the best answers for FrontPage support see:
| http://www.net-sites.com/sitebuilder/newsgroups.asp
|
| > I've got a long webpage listing items and want a "Return to Top" link at
| > certain points in the long list.
| >
| > But, I'm using shared borders.
| >
| > When I put the Bookmark at the first line under the shared border, returning
| > to the bookmark doesn't return me all the way to the top.
| >
| > If I put it in the shared border, will it be a bookmark on every page?
| >
| > thanks for any help
| >
| >
|
|
 
A

Andrew Murray

it's sort of an 'invisible' bookmark because it recognises "#top" as the top of
the page - a reserved word in effect, so you can't have an actual bookmark named
"top" - it would get confused.
 
S

Stefan B Rusynko

Actually top is not reserved but _top is reserved
(but I agree it is best to use something other then top - say "PageTop")

The reason it goes to the top of page using "top" (w/o an anchor there) is that the bookmark doesn't exist, so the browser stops at
the beginning of the page
You could just as well use any non existent anchor
- say just "#" or "#OK" (if "OK" is not a bookmark w/i the page)

--




| it's sort of an 'invisible' bookmark because it recognises "#top" as the top of
| the page - a reserved word in effect, so you can't have an actual bookmark named
| "top" - it would get confused.
|
| | > You don't need to create actual bookmark, just change you Return To Link URL to
| #top
| >
| > --
| > ==============================================
| > Thomas A. Rowe (Microsoft MVP - FrontPage)
| > WEBMASTER Resources(tm)
| >
| > FrontPage Resources, WebCircle, MS KB Quick Links, etc.
| > ==============================================
| > To assist you in getting the best answers for FrontPage support see:
| > http://www.net-sites.com/sitebuilder/newsgroups.asp
| >
| | > > I've got a long webpage listing items and want a "Return to Top" link at
| > > certain points in the long list.
| > >
| > > But, I'm using shared borders.
| > >
| > > When I put the Bookmark at the first line under the shared border, returning
| > > to the bookmark doesn't return me all the way to the top.
| > >
| > > If I put it in the shared border, will it be a bookmark on every page?
| > >
| > > thanks for any help
| > >
| > >
| >
| >
|
|
 
D

David Baxter

Not true - I have bookmarks named "top" on every page of my site. They
work just fine.
 
D

David Baxter

I used to believe that - and it does work for IE and some other
browsers. However, I'm told this doesn't work if the visitor is on a
Mac.
 
T

Thomas A. Rowe

Well for those users, they still have the ability to scroll the page up to the top.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
G

Goedele

Why not use the simple javascript?
I had links to #top too before, but since we work in websites with
over 500 pages, the links often changed into the pagename+#bookmark
and everything got messed up.
The script is easy ...

<a href="javascript:window.scrollTo(0,0);">Top</a>

Hope helpfull,

Goedele
 
G

Goedele

Use <a href="javascript:window.scrollTo(0,0);">Top</a>

Coordinates are 0,0 so will always end at the top of the browserwindow.

Goedele
 
D

David Baxter

Of course... but that sort of defeats the purpose of having a "go to
top" link in the first place... and you can fix the MAC problem very
simply by just inserting a bookmark called "top" at the top of the page.
 
T

Thomas A. Rowe

Inserting #top via a FP Include Page eliminates the problem.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 

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