PDA

View Full Version : How to create a hyperlinked document in Microsoft Word


iSilo
12-17-2003, 07:04 PM
This how-to uses Microsoft Word 2000, but the steps are applicable to other versions of Word with little or no modification.

The first image shows the content of the example document we use in this how-to. Our goal is to make each of the two bulleted items hyperlink to the beginning of each of the two paragraphs, respectively.

To specify the target location (e.g., where the hyperlink links to), you need to create a bookmark at that location. Follow these steps to create the two bookmarks that we need for this example:

Position the cursor right before the capital 'A' that begins the first paragraph.
In the Insert menu, click Bookmark. You should see the Bookmark dialog shown in the second image.
In the Bookmark name field of the Bookmark dialog, enter "Para1", then click Add. You can enter any name for the bookmark, but you should use a name that reminds you of what the bookmark marks.
Position the cursor right before the double-quote that begins the second paragraph.
In the Insert menu, click Bookmark.
In the Bookmark name field of the Bookmark dialog, enter "Para2" and click Add.
We have the bookmarks, so now we can create the hyperlinks that jump to the bookmark locations:

Select the text "Paragraph 1" of the first bullet as shown in the third image.
In the Insert menu, click Hyperlink. You should see the Insert Hyperlink dialog shown in the fourth image, where we will specify to where the hyperlink links.
We want the hyperlink to link to a bookmark, so click Bookmark. You should see the Select Place in Document dialog shown in the fifth image.
Select the bookmark named "Para1", then click OK.
Back in the Insert Hyperlink dialog, the Type the file or Web page name field should show "#Para1", the bookmark that we selected in the previous step. Click OK to add the hyperlink.
Select the text "Paragraph 2" of the second bullet.
In the Insert menu, click Hyperlink.
Click Bookmark.
Select the bookmark named "Para2", then click OK.
Click OK to add this second hyperlink.
We are done. The next post shows the final result.

iSilo
12-17-2003, 07:11 PM
The image shows the resulting document after adding the bookmarks and hyperlinks. There is no visual indication of the bookmarks, but the blue text and underlining of the two bulleted items show that they are now useable hyperlinks.

To convert this document to iSilo format, you need to first save it in HTML format. To do this, go to the File menu and click Save as Web Page.

After saving the document in HTML format, you can then use iSiloX to convert the resulting HTML file.

dvr
04-30-2004, 03:05 PM
I am able to follow this toot successfully and get bookmarks to import along with a document, so that a Word doc created in Win, saved as HTML, ends up as a PDB on the palm.

But what I really want to be able to do is craft a web page from scratch, using my own css, etc; and embed a version of <a name=blah></a> tags then reference them as <a href="#blah">Go to blah</a>

with the ultimate objective being to have the drop-list of navigable bookmarks appear in the PDA for each of the defined bookmark <a name> tags.

But when I code from scratch as shown above, the doc opened on the PDA does not display the list of bookmarks, as it does with the MSWord-generated HTML source doc. Any suggestions?

Thanks very much!

dvr
04-30-2004, 04:08 PM
Voltage Spike gave an excellent answer:
Open iSiloX, go to Document, Properties; go to the BookMark tab.

That dialogue box provides various ways of setting how bookmarks are read and defined from HTML tags, at conversion time when iSiloX is converting from HTML to PDB.

It even allows defining a prefix as a filter. for example, if I define a filter prefix of "bm_", and some of my bookmarks have a name that begins with "bm_", then those are the bookmarks that get added to the PBD's lbookmark list. For example:

<a name="bm_bookmark1"></a> (would get added)
<a name="bookmark2"></a> (would not get added)

very cool! Thanks for a great program!

semi
08-11-2005, 03:46 AM
greetings everyone!

MsWord tutorial is excellent but there is a problem when adding bookmark link to dropdown menu.

I would like to create a dropdown menu with bookmarks inside the same document (no external links) but the menu is inactive.
here is the code:

<html>
<head>
<title>some_title</title>
<script language="JavaScript">
<!--
function GoURLValue(select){
var URL = select.options[select.selectedIndex].value;
if (URL != '#')
location = URL;
else
select.selectedIndex=0;
}
//-->
</script>
</head>
<body>
<a name="top"></a>
<!--dropdown menu (visible on PPC but links are inactive)-->
<select onchange="GoURLValue(this);">
<option value="#top" selected>choose</option>
<option value="#link1">link1</option>
<option value="#link2">link2</option>
<option value="#link3">link3</option><!--etc.-->
</select>

<!--normal bookmarks (visible and active)-->
<a href="#link1">link1</a><br>
<a href="#link2">link2</a><br>
<a href="#link3">link3</a><br><!--etc.-->
<br>
some_text<br>
<a name="link1">link1</a><br>
some_text<br>
<a name="link2">link2</a><br>
some_text<br>
<a name="link3">link3</a><br><!--etc.-->
</body>
</html>


Can you please tell me where is the problem and how to solve it?

system:
PPC 2002 nec mobilepro 200e
isilo405
isilox427
WinXPSP2

semi
08-11-2005, 08:26 AM
ehmm... it works! everyhting seems to be in order now.

scyang
11-30-2007, 01:34 AM
I followed the steps described in the thread, and loaded the converted pdb file into my PDA. But when I click on a hyperlink, it jumps to a second page of the file with the following message:

Unresolved links:
file:///d%3a[filename]#para1
file:///d%3a[filename]#para2

Any idea why?

Thanks.