Solved

Problem with bookmarks

Posted on 2003-11-24
31
362 Views
Last Modified: 2013-12-24
I have a web page called contents.htm which is a table of contents for a safety manual which is a word document.  I put bookmarks in the word document.  When I go to my contents.htm page and want to put the hyperlinks to the bookmarks, the bookmarks do not display in the bookmark drop down box.  If I just put the path with #bookmark1 (the name I called the bookmark in the word document) and test, the document opens at the beginning of the page not at the bookmark.  What am I doing wrong?

Thanks
0
Comment
Question by:Winnebago
  • 11
  • 10
  • 9
31 Comments
 
LVL 29

Expert Comment

by:coreybryant
ID: 9811679
Is there an URL that you could provide?  That would help.

Thanks!

-Corey
0
 

Author Comment

by:Winnebago
ID: 9811837
Hi Corey,

Here is the url but it is on our intranet so you won't be able to get to it.
Safety Manual/Section 01 Introduction and Objectives.doc#Two

The table of contents looks like this:

SECTION 1
INTRODUCTION & OBJECTIVES


1.1 The Safety Program  1-1

1.2 Objective                 1-2    this is the hyperlink to two

1.3 Inspection Procedure 1-3

This is the document:

1.0      INTRODUCTION & OBJECTIVES                  
1.1      THE SAFETY PROGRAM      
1.2      OBJECTIVES  (bookmark two)
      
The Safety Program strives to carry out the Safety Policy Statement and should be supported by all Winnebago County employees.

1. Reduce direct and indirect Workers Compensation and other liability costs through accident, illness and injury prevention.

2. Develop and maintain department-wide support for all aspects of the Safety Program.

            
0
 
LVL 31

Expert Comment

by:seanpowell
ID: 9811929
Couple of things:

1. FrontPage will not show the bookmarks within your Word Doc, so you have to add them manually (by adding#bookmark-name) to the end of the hyperlink to the actual word doc.

2. Just to make sure, bookmarks in Word Doc's MUST NOT begin with a number...

3. Open the Word Doc, select the place where the bookmark should be, and make sure the actual bookmark name is the same as the one in your hyperlink on the web page.
0
 
LVL 31

Expert Comment

by:seanpowell
ID: 9811934
I just want to make sure that there's no confusin between adding a hyperlink in the word doc, and adding a bookmark in the word doc (also called a named anchor)
0
 
LVL 29

Expert Comment

by:coreybryant
ID: 9811951
Also, when you say you add #bookmark1 - do you actually have that named as #bookmark1 or #Two ?

-Corey
0
 

Author Comment

by:Winnebago
ID: 9812023
I named the bookmark "two" and called it that after the # sign but when I click on the hyperlink it goes to the top of the page.
0
 
LVL 29

Expert Comment

by:coreybryant
ID: 9812043
How about posting the code that points to the two & then what you have used to reference two?

Thanks!

-Corey
0
 
LVL 31

Expert Comment

by:seanpowell
ID: 9812136
I assume that you saved the word doc after creating the bookmark, yes? There's very little reason why this isn't working - something you're not telling us? :-)

Also, can sou make sure that the UYRL in the borswer bar is correct when viewing the word doc:
Safety Manual/Section 01 Introduction and Objectives.doc#Two

And - remember that Two is not the same as two
0
 
LVL 31

Expert Comment

by:seanpowell
ID: 9812141
No spelling mistakes in that post :-(
0
 
LVL 29

Expert Comment

by:coreybryant
ID: 9812181
I must be finally wearing off on you George!  LOL

-Corey
0
 
LVL 31

Expert Comment

by:seanpowell
ID: 9812216
I hope so - it makes it look like I've had a few too many - which is ridiculous, because it's not 1 oclock yet...
0
 

Author Comment

by:Winnebago
ID: 9812668
Yes, I have saved the word dpcument.  I thought for a moment it might have been the Two vs two but I checked and that was not it.  The word document is read only so a box comes up asking for a password.  It goes to the beginning of the document either way - if I enter a password or if I do read only.  Here is the code for the hyperlink.


<tr>
    <td WIDTH="20%" VALIGN="TOP">&nbsp;</td>
    <td WIDTH="65%" VALIGN="TOP"><font FACE="Arial,Arial">
      <p><a href="Safety%20Manual/Section%2001%20Introduction%20and%20Objectives.doc#Two">1.2 Objective</a></font></td>
    <td WIDTH="14%" VALIGN="TOP"><font FACE="Arial,Arial">
      <p ALIGN="CENTER">1-2</font></td>
  </tr>

0
 
LVL 31

Expert Comment

by:seanpowell
ID: 9812730
Okay - one last thing to try (I hope).

Save the word doc as a web page, and then open the newly created htm page in a text editor. Scroll to where the bookmark should be and make sure you have something like:

1.2     <a name=Two>OBJECTIVES</a>  etc.
0
 

Author Comment

by:Winnebago
ID: 9812798
this is what I now have

<p><a NAME="two">1.2 OBJECTIVES</a></p>
0
 
LVL 29

Expert Comment

by:coreybryant
ID: 9812820
How far down is the Objective?  Is it far enough down the page to actually go to that bookmark?

-Corey
0
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 

Author Comment

by:Winnebago
ID: 9812844
it's about half way down the web page.  When it was a word document, it was on page 2 of 2.  Does that make a difference?
0
 
LVL 29

Expert Comment

by:coreybryant
ID: 9812861
It is quite possible.  If there is not enough room it places it where it can.  Add a few hard returns at the top & see if it works.

-Corey
0
 
LVL 31

Expert Comment

by:seanpowell
ID: 9812867
Or rather, is there enough material "below" the bookmark to position it at the top of the page :-)
0
 

Author Comment

by:Winnebago
ID: 9813042
I moved this to our website if that will help
http://www.co.winnebago.wi.us/safetymanual/safetymanual.htm
0
 
LVL 31

Expert Comment

by:seanpowell
ID: 9813123
Works on my end ...
0
 

Author Comment

by:Winnebago
ID: 9813182
You've got to be kidding!  It doesn't work for me!  If I click on 1.1 The Safety Program or 1.2 Objective, it goes to the top of the page and the cursor is in front of 1.0 Introduction and Objectives!
0
 
LVL 31

Expert Comment

by:seanpowell
ID: 9813210
I never kid about another person's bookmarks - let me see if it's potentially an IE issue.

What are you running, IE6.0 sp2 or other?
0
 

Author Comment

by:Winnebago
ID: 9813231
IE 5.50.4807.2300 sp2
0
 
LVL 31

Expert Comment

by:seanpowell
ID: 9813285
I don't see anything in the specs about IE5.5 being a problem.

Okay:

1. Change the name of the bookmark to something else.
2. Save the word doc with another name.
3. Change the hyperlink on the web page to match the changes in 1 & 2.
4. Try it again.
0
 

Author Comment

by:Winnebago
ID: 9813505
I changed the name of the bookmarks to safety and objective.  I saved the word document as test.doc.  I  changed the hyperlink to go to test.doc#objective and test.doc#safety. I changed the name of the web page to SM.htm.  And I tried it again with no luck.
0
 
LVL 31

Expert Comment

by:seanpowell
ID: 9813545
Well that was worth the effort :-(  So much for a cache problem.

What if you try it again with the fridge door open...
Seriously, I'll keep looking. This is very bizarre.
0
 
LVL 29

Expert Comment

by:coreybryant
ID: 9814168
Sorry I had a client stop by.  But it works for me as well.  On IE 6.0

-Corey
0
 

Author Comment

by:Winnebago
ID: 11050941
Actually I solved the problem myself by checking google and going to Microsoft Knowledge Base article 162059.  Method 1 did not work so I had to do method 2 which edits the registery.  I needed to have Internet Explorer open the document in Word.  I had to add the following value to the subkey for Word.  Value name: BrowserFlags, Data Type: REG_DWORD, Value 8.  Now the bookmarks work!  Thanks for your help.  Perhaps this will help you if someone else has this problem.
0
 
LVL 29

Expert Comment

by:coreybryant
ID: 11050971
OK - thanks for letting us know.  

-Corey
0
 
LVL 29

Accepted Solution

by:
coreybryant earned 0 total points
ID: 11089908
force accept
coreybryant
FP Page Editor
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In this short web based tutorial, I wanted to show users how they can still use the powers of FrontPage in conjunction with Expression Web 3.  Even though Microsoft eliminated the use of Web components, we can still use them with FrontPage and edit …
This article provides a case study on how our local youth baseball league deployed a new website, including the platform selection, implementation and benefits to the league.
The purpose of this video is to demonstrate how to properly insert a Vimeo Video into a WordPress site or Blog. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp…
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now