• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

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

Guest
Sep 24, 2012 Sep 24, 2012

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

Views

1.2K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 24, 2012 Sep 24, 2012

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.

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Sep 25, 2012 Sep 25, 2012

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 25, 2012 Sep 25, 2012

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Sep 25, 2012 Sep 25, 2012

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 27, 2012 Sep 27, 2012

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Sep 28, 2012 Sep 28, 2012

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 28, 2012 Sep 28, 2012

Copy link to clipboard

Copied

LATEST

Good to know that it works in the WebHelp CHM too.

Greet,

Willam

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp