Copy link to clipboard
Copied
Hi all,
normally when a topic is opened directly instead of via the start file, then the script writes a link with an onclick event that calls a function named Show(). I was wondering weather it is possible to call this function automatically without requiring the user to click. Trying to modify the whtopic.js that writes this link was not successfull yet, but I am not a fluent script programmer..
I wonder, has anybody tried this yet?
Of course it is better to call the webhelp via the start file but in some cases this is not possible.
Robert
Copy link to clipboard
Copied
Hi Robert
I think Willam provided a solution for this just the other day. See if the thread linked below helps any.
Cheers... Rick
Helpful and Handy Links RoboHelp Wish Form/Bug Reporting Form Begin learning RoboHelp HTML 7, 8 or 9 within the day! |
Copy link to clipboard
Copied
Hi Rick,
the script does not seem to work in RH10. It works in RH9 however, yes this is just what I am looking for. Now if there is a solution that work in RH10 I will be happy for today : )
Robert
Copy link to clipboard
Copied
RH10 WebHelp is very different from earlier versions. Can you try the following?
var panevisible = new whMessage(SH_MSG_ISPANEVISIBLE, this, 1, "");
if(!request(panevisible)) {
show();
}
I will look into it too, but it may be a couple of days.
Message was edited by: Willam van Weelden - Script did not come trough correctly.
Copy link to clipboard
Copied
Willam,
regrettably not, I tried the new script with FF13 and IE9. It would be
great if you can have a look when you find the time. No hurry to this.
Regards,
Robert
Copy link to clipboard
Copied
Hi,
It's not as elegant as in RoboHelp 9, but it works. I've updated http://www.wvanweelden.eu/blog/2012/08/01/always-show-webhelp-navigation-pane with a RoboHelp 10 method.
Greet,
Willam
Copy link to clipboard
Copied
Hi Willam,
thanks for providing this solution. When using Adobe's new script to
generate a CHM with a skin then this is the only way to get the
navigation pane when calling a topic via the CSH API.
Regards,
Robert
Copy link to clipboard
Copied
Good to know that it works in the WebHelp CHM too.
Greet,
Willam