现在的位置: 首页 > 综合 > 正文

在HTML网页中打开chm格式的帮助文件

2013年03月08日 ⁄ 综合 ⁄ 共 560字 ⁄ 字号 评论关闭
在HTML网页中打开chm格式的帮助文件

1. window.showHelp("../jscript56.chm");

2.F1用自己的帮助文件
<body
onhelp="window.open('mk:@MSITStore:http://www.blueidea.com/user/qswh/css2.chm::/css2/c_wordwrap.html');return
false;">

<body onhelp="window.open('its:http://www.blueidea.com/user/qswh/css2.chm::/css2/c_wordwrap.html');return false;">

例:
<body
onhelp="window.open('its:file://C:/Documents%20and%20Settings/Administrator/
桌面/aa.chm::/html/jsoriJScript.htm');return false;">
<input type="button" onClick='window.showHelp("aa.chm");' value="help">
<a href="#" onClick='window.showHelp("aa.chm");'>help</a>


抱歉!评论已关闭.