Linking to bookmark in another Page, in the Middle - NOT WORKING

L

lifeson

I found numerous posts on this topic here, but the advicew given is
not working for me.

I selected the text header halfway down my page, which is on the left.
I then did an Insert Bookmark and named it with no spaces (I used the
word "VON" to name the book ark). I then when to the other page,
keeping both pages open in FP as recommended, and on the Link
properties I clicked on the page with the bookmark, and clicked the
drop-down box, and selected the only bookmark that showed up, "VON".

Then I test it is the FP preview mode, and every time it simply jumps
the the page - but to the top of that page !!!

Here is the code. The tex header that I selected is halfway down the
page, and the actual text is "Virtual On-Net" - but the text should
not matter - the bookmark is inserted there :

Bookmark code on page the link points to. The file name for this page
is "onnet-vs-offnet.htm":

Code: <a name="VON">Virtual On-Net</a>

Link code on page that links to the page with bookmark. The file name
for this page is "left.htm" :

Code: <a href="onnet-vs-offnet.htm#VON">Virtual On-Net</a><br>
 
S

Steve Easton

Just select the word Virtual to bookmark to.
Even though you labeled the bookmark VON,
The actual bookmark the browser is looking for is
Virtual On-Net which contains spaces, and the spaces
are what messes it up. Open the page with the link
to the bookmark and you'll see that it links to
#Virtual On-Net. The # is what tells the browser it
is a bookmark.

hth
 
K

Kevin Spencer

The actual bookmark the browser is looking for is
Virtual On-Net which contains spaces, and the spaces
are what messes it up.

I'm afraid that is not true. A Bookmark is an anchor tag, which works just
like any other anchor tag. The text between the tags makes no difference.
Only the Bookmark Name should contain no illegal URL characters, which it
doesn't.

I can't tell from his dexcription what the problem is. It would help if he
gave us a URL or posted the HTML for the whole page.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
http://www.takempis.com
Big Things are made up of
Lots of Little Things.
 
S

Stefan B Rusynko

If the anchor does not require the top of the page to scroll, it will "appear" to just open at the top of the page

Try it w/ a very small window & it should scroll

--



| I found numerous posts on this topic here, but the advicew given is
| not working for me.
|
| I selected the text header halfway down my page, which is on the left.
| I then did an Insert Bookmark and named it with no spaces (I used the
| word "VON" to name the book ark). I then when to the other page,
| keeping both pages open in FP as recommended, and on the Link
| properties I clicked on the page with the bookmark, and clicked the
| drop-down box, and selected the only bookmark that showed up, "VON".
|
| Then I test it is the FP preview mode, and every time it simply jumps
| the the page - but to the top of that page !!!
|
| Here is the code. The tex header that I selected is halfway down the
| page, and the actual text is "Virtual On-Net" - but the text should
| not matter - the bookmark is inserted there :
|
| Bookmark code on page the link points to. The file name for this page
| is "onnet-vs-offnet.htm":
|
| Code: <a name="VON">Virtual On-Net</a>
|
| Link code on page that links to the page with bookmark. The file name
| for this page is "left.htm" :
|
| Code: <a href="onnet-vs-offnet.htm#VON">Virtual On-Net</a><br>
|
|
 

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