Problem with bookmarks

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
WinnebagoAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

coreybryantCommented:
Is there an URL that you could provide?  That would help.

Thanks!

-Corey
0
WinnebagoAuthor Commented:
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
seanpowellCommented:
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
JavaScript Best Practices

Save hours in development time and avoid common mistakes by learning the best practices to use for JavaScript.

seanpowellCommented:
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
coreybryantCommented:
Also, when you say you add #bookmark1 - do you actually have that named as #bookmark1 or #Two ?

-Corey
0
WinnebagoAuthor Commented:
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
coreybryantCommented:
How about posting the code that points to the two & then what you have used to reference two?

Thanks!

-Corey
0
seanpowellCommented:
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
seanpowellCommented:
No spelling mistakes in that post :-(
0
coreybryantCommented:
I must be finally wearing off on you George!  LOL

-Corey
0
seanpowellCommented:
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
WinnebagoAuthor Commented:
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
seanpowellCommented:
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
WinnebagoAuthor Commented:
this is what I now have

<p><a NAME="two">1.2 OBJECTIVES</a></p>
0
coreybryantCommented:
How far down is the Objective?  Is it far enough down the page to actually go to that bookmark?

-Corey
0
WinnebagoAuthor Commented:
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
coreybryantCommented:
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
seanpowellCommented:
Or rather, is there enough material "below" the bookmark to position it at the top of the page :-)
0
WinnebagoAuthor Commented:
I moved this to our website if that will help
http://www.co.winnebago.wi.us/safetymanual/safetymanual.htm
0
seanpowellCommented:
Works on my end ...
0
WinnebagoAuthor Commented:
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
seanpowellCommented:
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
WinnebagoAuthor Commented:
IE 5.50.4807.2300 sp2
0
seanpowellCommented:
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
WinnebagoAuthor Commented:
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
seanpowellCommented:
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
coreybryantCommented:
Sorry I had a client stop by.  But it works for me as well.  On IE 6.0

-Corey
0
WinnebagoAuthor Commented:
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
coreybryantCommented:
OK - thanks for letting us know.  

-Corey
0
coreybryantCommented:
force accept
coreybryant
FP Page Editor
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development Software

From novice to tech pro — start learning today.