【问题标题】:How to set the default page for a .CHM file in HTML Help Workshop?如何在 HTML Help Workshop 中设置 .CHM 文件的默认页面?
【发布时间】:2010-10-08 02:53:14
【问题描述】:

当我打开帮助 (.chm) 应用程序时,我可以看到目录。默认情况下,文件中的第一个条目被选中,但是我看不到相应的页面数据。相反,我看到“此程序无法显示网页”(IE7 中的默认错误消息)。仅当我单击左侧的任何内容时才会显示该页面。

有没有办法在不点击入口的情况下默认显示页面?

以下代码是.hhp文件。

[OPTIONS]
Compatibility = 1.1 or later
Compiled file=Config.chm
Contents file=Config.hhc
Default topic=D:\apps\bin\Debug\html\Databases.htm
Language=0x409 English (United States)
Display compile progress=No
Title=ETL_Config Documentation

[FILES]
D:\apps\bin\Debug\html\Databases.htm
D:\apps\bin\Debug\html\InstanceInformation.htm

【问题讨论】:

标签: html-helper chm help-authoring html-help-workshop


【解决方案1】:

您的默认主题应引用 .CHM 文件内的相对文件名,而不是 .CHM 之外的文件。

【讨论】:

  • 感谢您的解决方案。我确实发现是设置问题。
最近更新 更多