开发者

How to set default page in HTML help workshop

I have created a project in HTML help workshop. When I open the help (/chm) application, I could see table of contents. By default, first entry in the file is selected.

However I couldn't see the corresponding page data instead I am able to see "This program cannot display the web page" (default error message that comes in IE7). The page is displayed only when I开发者_高级运维 click on any of the contents on the left side.

Is there a way of showing the page by default with out clicking on the entry?


It's been a couple of years since I last used HTML Workshop and I don't have it installed anymore but I just checked out some old doc sources and there's the following entry in the .hhp-file:

[OPTIONS]
Default topic=index.html

I'm pretty sure there was some way to set this via the HHWS GUI, too.


Steps for setting the Default page from the HTML Help Workshop GUI:

  • go to "Project" tab
  • double-click any item in the "[OPTIONS]" list. Opens the "Options" window.
  • select "General" tab
  • select/write the file path and name in the "Default file:" combobox
  • press OK


Take the properties of the file in the explorer, and see if it is unblocked, and unblock it else.

Since XPsp2 or so, CHMs are blocked from properly displaying after downloading (or copying of a share in some cases)


I'm not really sure what you're asking, but by default most servers will serve index.htm(l) if that is found in a folder.

You might try to name one of the files that, and see if that helps.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜