HTML HELP WORKSHOP "contents"are auto-generated but clicking doesn't work proper

Joined
Jan 28, 2011
Messages
1
Reaction score
0
Hi,

WHAT I DID--------
I have a .docx document which has two headings: AAAA and DDDD.
I need to convert this .docx file into htmlHelp.
I converted the .docx file into .htm fromat(MyManual1.htm).
Added this .htm file into htmlHelp project.
Used the option of "automatically create contents file when compiling".
On compiling, the contents are auto-generated as AAAA and DDDD.

THE PROBLEM-------
smiley_confused.gif

The auto-generated contents are displaying the whole document, instead of showing their respective location in that document, on being clicked.


AUTO-GENERATED MyTOC.hhc AS SEEN IN WORDPAD-------

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<HTML>
<HEAD>
<meta name="GENERATOR" content="Microsoft&reg; HTML Help Workshop 4.1">
<!-- Sitemap 1.0 -->
</HEAD>
<BODY>
<OBJECT type="text/site properties">
<param name="Auto Generated" value="Yes">
</OBJECT>
<UL>
<LI>
<OBJECT type="text/sitemap">
<param name="Name" value="AAAA">
<param name="Local" value="MyManual1.htm">
</OBJECT>
<LI>
<OBJECT type="text/sitemap">
<param name="Name" value="DDDD">
<param name="Local" value="MyManual1.htm">
</OBJECT>
</UL>
</BODY>
</HTML>
REVIEW OF ABOVE CODE--------
Its associating the whole .htm page for every content whether AAAA or DDDD.
So, on being clicked, they are loading whole page instead of showing there respective location in that page.
 

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