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

Responsive HTML5 Help - RH 2015- CSH help flashes open then closes

Community Beginner ,
May 01, 2016 May 01, 2016

Copy link to clipboard

Copied

When the developers integrated the Responsive HTML 5 Help into our company's mobile app, the CSH help topics flash open then close right away in Chrome and Safari. However, it works fine in Internet Explorer. Has anyone encountered this?  

Views

510

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

correct answers 1 Correct answer

LEGEND , May 05, 2016 May 05, 2016

There is a problem with 2 popups being opened. One by the script and RH opens another one. If you use the below function, it should work. You will have to parse an empty window string to make it work.

function RH_ShowMultiscreenHelpWithMapNo(szHelpURL, szWnd, dwMapNo)

{

var szParam = "?rhnewwnd=0&rhcsh=1";

if (szHelpURL == "")

return;

if(szWnd)

szParam += "&rhwnd=" + szWnd;

if(dwMapNo > 0)

szParam += "&rhmapno=" + dwMapNo.toString();

var szURL = szHelpURL + szParam;

var sParam = "left="+screen.width+",top=

...

Votes

Translate

Translate
LEGEND ,
May 02, 2016 May 02, 2016

Copy link to clipboard

Copied

Could it be related to this: Re: Javascript function for Responsive HTML 5 Output

How are your developers calling the help?

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

Copy link to clipboard

Copied

They are using this script:

                “RH_ShowMultiscreenHelpWithMapNo('help/index.htm', '', 10)”, where 10 indicates the Map ID.

We had a lot of trouble with creating a script that worked. Then for some reason, we encountered the problem I described where the CSH help opens for 1 second and closes.       

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

Copy link to clipboard

Copied

There is a problem with 2 popups being opened. One by the script and RH opens another one. If you use the below function, it should work. You will have to parse an empty window string to make it work.

function RH_ShowMultiscreenHelpWithMapNo(szHelpURL, szWnd, dwMapNo)

{

var szParam = "?rhnewwnd=0&rhcsh=1";

if (szHelpURL == "")

return;

if(szWnd)

szParam += "&rhwnd=" + szWnd;

if(dwMapNo > 0)

szParam += "&rhmapno=" + dwMapNo.toString();

var szURL = szHelpURL + szParam;

var sParam = "left="+screen.width+",top="+screen.height+",width=600,height=400";

window.open(szURL, "__webCshStub", sParam);

}

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 ,
Sep 11, 2016 Sep 11, 2016

Copy link to clipboard

Copied

LATEST

Thank you so much William. Myself and the development team is totally grateful. This fix worked perfectly!   

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
Jul 22, 2016 Jul 22, 2016

Copy link to clipboard

Copied

We just upgraded to 2015 Update 3 and this started happening to us too.

Did anyone ever figure it out?

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 ,
Aug 01, 2016 Aug 01, 2016

Copy link to clipboard

Copied

What was the previous version you used? Did you move from another output, or did it start occuring when you went from a specific version to the update 3?

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
Aug 01, 2016 Aug 01, 2016

Copy link to clipboard

Copied

We were on Update 2 before.

After upgrading we got a bunch of new files in the whxdata folder glo.new.js, idx.new.js, idata1.new.js, etc. I dont know if these had anything to do with the problem.

Good news though. We were able to fix it by uninstalling robohelp and then reinstalling and regenerating the output. The .new files above went away and the window stayed open.

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