Jump to paragraph in other page

S

Sarah

I am using FrontPage 2000. I do a good amount of hand coding though I use
the WYSIWUG convenience of FP too. I need to hyperlink one section of one
page to a certain paragraph on another page. Is there a code to do that
using HTML or is there a way to let FrontPage do it? I have used the "jump"
code on the same page so perhaps there is a way to "jump" to another page.
 
T

Trevor L.

Sarah said:
I am using FrontPage 2000. I do a good amount of hand coding though
I use the WYSIWUG convenience of FP too. I need to hyperlink one
section of one page to a certain paragraph on another page. Is there
a code to do that using HTML or is there a way to let FrontPage do
it? I have used the "jump" code on the same page so perhaps there is
a way to "jump" to another page.

In the calling page use
<a href="page2.html#par1">Go To Page 2 Para 1</a>)
where page2.html is the called page

In the called page (page2.html), use
<a name ="par1">
<p>Para 1</p></a>


--
Cheers,
Trevor L.
[ Microsoft MVP - FrontPage ]
MVPS Website: http://trevorl.mvps.org/
----------------------------------------
 
G

Guest

Joe Rohn said:
Hi Sarah,

Look in the help section under "bookmark" that will explain how you can link
to specific areas on the same or different pages.
OK, I would like a link to a bookmark to go to a section of a web page
containing a series of short paragraphs, but FP won't let me make a bookmark
to any text longer than one paragraph. So If I bookmark the title of the
section, the user is taken to the section title which appears at the bottom
of the web browser window and must scroll down to read everything else. How
do I get that bookmarked title to appear at the top of a web browser window
rather than at the bottom? What I am trying to do appears to be done alot in
the faq sections of web sites.
 
T

Trevor L.

ctc said:
OK, I would like a link to a bookmark to go to a section of a web page
containing a series of short paragraphs, but FP won't let me make a
bookmark to any text longer than one paragraph. So If I bookmark the
title of the section, the user is taken to the section title which
appears at the bottom of the web browser window and must scroll down
to read everything else. How do I get that bookmarked title to appear
at the top of a web browser window rather than at the bottom? What I
am trying to do appears to be done alot in the faq sections of web
sites.

I have read here that browsers will display as much of the bookmarked area
as it can, bottom justified. So, if it all fits in one page, you will see
that page. But if it doesn't you will see the top of the bookmarked area,
and have to scroll to see the rest.

I think the answer lies in this statement
"FP won't let me make a bookmark to any text longer than one paragraph"

Maybe the menus won't (don't know - haven't checked). But you can change the
area that is bookmarked.

The bookmarked area is everything between <a>and </a>

So to bookmark more than one para, the code shoud read
<a name = "paragraph_bookmark>
<p>para 1 content</p>
<p>para 2 content</p>
<p>para 3 content</p>
<p>para 1 content</p>
</a>

Click on the Code or HTML tab, and move the closing tag </a> so that it
encloses all the paras that you want.

BTW,
I haven't ever bookmarked a large area, so I am just going on what I have
used and read.

--
Cheers,
Trevor L.
[ Microsoft MVP - FrontPage ]
MVPS Website: http://trevorl.mvps.org/
----------------------------------------
 
R

Ronx

<p id="para1">Para 1</p>

or <p><a name="para1"></a>Para 1</p>

would be better than nesting a block paragraph inside an inline anchor.
I prefer the 1st method which works in IE5 and later, Netscape 6 and
later, and all other modern browsers, whereas some browsers may have
issues with an empty anchor in the second method. (I have yet to find
that browser...)
--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.
FrontPage Support: http://www.frontpagemvps.com/
http://www.rxs-enterprises.org/fp



Sarah said:
I am using FrontPage 2000. I do a good amount of hand coding though
I use the WYSIWUG convenience of FP too. I need to hyperlink one
section of one page to a certain paragraph on another page. Is there
a code to do that using HTML or is there a way to let FrontPage do
it? I have used the "jump" code on the same page so perhaps there is
a way to "jump" to another page.

In the calling page use
<a href="page2.html#par1">Go To Page 2 Para 1</a>)
where page2.html is the called page

In the called page (page2.html), use
<a name ="par1">
<p>Para 1</p></a>


--
Cheers,
Trevor L.
[ Microsoft MVP - FrontPage ]
MVPS Website: http://trevorl.mvps.org/
----------------------------------------
 
S

Sarah

Joe Rohn said:
Hi Sarah,

Look in the help section under "bookmark" that will explain how you can
link to specific areas on the same or different pages.

--
Joe
Microsoft MVP FrontPage

Expression and FrontPage Web Forums:
http://www.timeforweb.com/frontpage/forum/default.asp

Bookmark term is what I need to learn what to do. Don't suppose there is a
simple hand coding that can be done? :) I do more coding than knowing
FrontPage. Thanks!

Sarah
 
T

Trevor L.

Sarah said:
Bookmark term is what I need to learn what to do. Don't suppose there is
a simple hand coding that can be done? :) I do more coding than knowing
FrontPage. Thanks!


What was the question ?
(I must have deleted the thread)

Yes, I also prefer to code.

Anyway,
A "bookmark" in FP terms is a "name"d anchor tag
e.g. <a name = "myname"></a>
This does not have to have any content - just position it above the element
that you want to locate to

To link to it on the same page, use
<a href ="#myname">Link to "myname" on this page </a>

To link to it on a different page, say page1.html, use
<a href ="page1.html#myname">Link to "myname" on page1.html </a>

I seem to recall that some other posters may have said this also works with
a named <p> tag, but I have not tried this
--
Cheers,
Trevor L.
[ Microsoft MVP - FrontPage ]
MVPS Website: http://trevorl.mvps.org/
----------------------------------------
 

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