Hi there
I am having a Javascript issue (I know very little in JS) and thought of looking for some help here.
I have several HTML Help Files, each of them for a different product incarnation (ProductA.CHM, ProductB.CHM, etc). These Help Files will all be located in the same folder on the clients' PCs, along with another Help file that is generic and explains how to use the Help Files (I will call this file Generic.CHM).
In my product incarnation CHMs, I have a WebHelp toolbar with a button that, when clicked on, opens Generic.CHM, on the introduction.htm page, but in the same window as ProductA.CHM, ProductB.CHM, etc (i.e. if I have ProductA.CHM open, and if I click on this WebHelp button, I would like to display the introduction.htm page from the Generic.CHM file, but still in the ProductA window).
I have been advised to type the following on the OnClick event of the WebHelp toolbar button:
window.open(ms-its:c:/Program Files/SoftwareName/Generic.chm::/Generic/Introduction.htm)
This is not working, i.e. I get a script error when compiling one of my Products CHMs telling me a ')' is missing...
Also, can't I use a relative path as all my CHMs are in the same folder, instead of using an absolute path, as above?
Can someone help?
Thanks in advance for your input.
A JS newbie,