How to Create Hyperlinks to Bookmarks in Local Documents

ID: Q128499

The information in this article applies to:

SUMMARY

This article describes how to create hyperlinks to bookmarks in local documents.

NOTE: Any jumps to bookmarks in local documents will not work unless the "destination" document (which contains the bookmark) is closed. Whenever you want to test a hyperlink to another document's bookmarks, be sure the bookmarked document is closed.

MORE INFORMATION

1. To create hyperlinks to specific sections in other local documents, you

   first need to set up the other document.

   Use these steps to create bookmarks in the first document (here called
   FIRST.HTM):

   a. Highlight the text that you want to link to.

   b. From the Edit menu, choose Bookmark.

   c. Type a unique name for the bookmark and choose OK.

   d. From the View menu, choose Web Browse.

   e. Save and close the first document.

2. Next, create the document (here called SECOND.HTM) that contains the
   hyperlink to the desired section in the first document. In the second
   document, use these steps to create the links:

Internet Assistant 1.0z

   a. Highlight the text you want to use as the hyperlink.

   b. From the Insert menu, choose Hyperlink.

   c. Select the To Local Document tab.

   d. Highlight the document you want to link to and choose OK.

   e. From the View menu, choose Web Browse.

   f. From the File menu, choose Save As.

   g. In the Save File As Type list, select HyperText Markup Language
      (HTML), type in the filename, and choose OK.

   h. Close the document.

   i. From the File menu, choose Open.

   j. Choose the Confirm Conversions check box.

   k. Highlight SECOND.HTM and choose OK.

   l. Select Text Only and choose OK.

   m. Locate the anchor (<A>...</A>) to FIRST.HTM. It should look similar
      to this:

         <A HREF="first.htm>hyperlink text</A>

   n. Modify the anchor tag so that it now looks like this:

         <A HREF="first.htm#bookmark>hyperlink text</A>

   o. Save and close the document.

With FIRST.HTM closed, you can now open SECOND.HTM as HTML, and click on the hyperlink to jump to the bookmarks in FIRST.HTM.

Internet Assistant 2.0z

   a. Highlight the text you want to use as the hyperlink.

   b. From the Insert menu, choose Hyperlink.

   c. In the File or URL text box, type the name of the URL for First.htm.

   d. In the Bookmark Location in File text box, type the name of the
      Bookmark you added to First.htm.

   e. Click OK.

   Note: Although the hyperlink to the bookmark in another document will
   work correctly when you view the document in your browser, Internet
   Assistant 2.0 will display the following error when you activate this
   link:

      Cannot Find File.

KBCategory: kbusage kbhowto KBSubcategory: Additional query words: 6.0a 6.0c winword 1.0 1.0z iaword word6 ia 2.0z
Keywords          : kbwdinternet 
Version           : 1.0z 2.0z
Platform          : WINDOWS

Last Reviewed: February 6, 1998