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
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
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
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.
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
Copy link to clipboard
Copied
rhnewwnd=0
Sorry for the confusion
Copy link to clipboard
Copied
No Probs.
Prashant