Skip to main content
September 24, 2012
Question

Calling the 'Show' link script automatically when a topic is opened directly

  • September 24, 2012
  • 1 reply
  • 1322 views

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

This topic has been closed for replies.

1 reply

Captiv8r
Legend
September 24, 2012

Hi Robert

I think Willam provided a solution for this just the other day. See if the thread linked below helps any.

Click here to view

Cheers... Rick

Helpful and Handy Links

RoboHelp Wish Form/Bug Reporting Form

Begin learning RoboHelp HTML 7, 8 or 9 within the day!

Adobe Certified RoboHelp HTML Training

SorcerStone Blog

RoboHelp eBooks

September 25, 2012

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

September 25, 2012

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.


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