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

Javascript function for Responsive HTML 5 Output

Community Beginner ,
Apr 29, 2016 Apr 29, 2016

Copy link to clipboard

Copied

Hi,

We are integrating Responsive HTML 5 output with our application.

Could you please let me know which Javascript function should we use for calling a particular content page (using mapid or map number) for Responsive HTML 5.

For example, in webhelp, we are using RH_ShowHelp(0, "roboHelp/index.htm", 0, 10).

I am using RoboHelp 2015.

Regards,

Prashant

Views

631

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 ,
Apr 30, 2016 Apr 30, 2016

Copy link to clipboard

Copied

For the JavaScript API, use 'RH_ShowMultiscreenHelpWithMapNo()' or 'RH_ShowMultiscreenHelpWithMapId' depending on what you need. Check the comment at the top of the RoboHelp_CSH.js file. It explains the calls and their options.

If you want to build the URL yourself and use a custom API, check this article on my site: https://www.wvanweelden.eu/articles/context-sensitivity-responsive-and-multiscreen-html5

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
Community Beginner ,
May 01, 2016 May 01, 2016

Copy link to clipboard

Copied

Hi William,

Thank you.

With you suggestion, the help opens, but it opens only for few milliseconds. We expect that it should be opened until user navigates to another window, like the default behavior of WebHelp.

Are we missing anything?

Example of call:

"javascript:RH_ShowMultiscreenHelpWithMapNo('/roboHelp/index.html', '', 12)";

Regards,

Prashant

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 ,
May 02, 2016 May 02, 2016

Copy link to clipboard

Copied

The API opens a popup which opens another popup. Not all browsers allow this. If you update the function to include the parameter newwnd=false. That avoids the second popup and the help shouldn't flicker.

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
Community Beginner ,
May 02, 2016 May 02, 2016

Copy link to clipboard

Copied

Thanks William.

You mean "rhnewwnd=1" should be set to 'false' in RoboHelp_CSH.js, correct?


Let me check this once.

Regards,

Prashant

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 ,
May 02, 2016 May 02, 2016

Copy link to clipboard

Copied

rhnewwnd=0

Sorry for the confusion

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
Community Beginner ,
May 02, 2016 May 02, 2016

Copy link to clipboard

Copied

LATEST

No Probs.

Prashant

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