HTML Help Workshop - 是否可以在.CHM文件中使用CSS或JavaScript? [英] HTML Help Workshop - Is it possible to use CSS or JavaScript within a .CHM file?

查看:231
本文介绍了HTML Help Workshop - 是否可以在.CHM文件中使用CSS或JavaScript?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在创建.chm文件并很想知道这些选项是否可用?

I'm in the process of creating .chm files and was curious to know if these options are available?

推荐答案

当然你可以使用CSS。 JavaScript并非在所有情况下。请参阅 HTMLHelp - 链接

Of course you can use CSS. JavaScript not in all cases. See HTMLHelp - Linking.

确保您的design.css位于项目级别结构中,并添加到HHP项目文件的[FILES]部分。你可以打开这个* .hhp文件,例如Notepad ++添加文件。
如果文件列在[FILES]部分中,则编译器将它们包含在CHM文件中。

Make sure your design.css is inside you project level structure and added to the [FILES] section of your HHP project file. You can open this *.hhp file with e.g. Notepad++ to add files. If the files are listed in the [FILES] section the compiler includes them to the CHM file.

[FILES] 
welcome.htm 
design.css 
First_Steps\download.htm 
First_Steps\starting_program.htm 
How_to_extend\extend_menu.htm 
How_to_extend\power_function.htm 
images\gui_screenshot.jpg

这篇关于HTML Help Workshop - 是否可以在.CHM文件中使用CSS或JavaScript?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆