Highlighted

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

Community Beginner ,
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?  

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);

}

Topics

HTML5 layout

Views

375

Likes

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

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

Community Beginner ,
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?  

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);

}

Topics

HTML5 layout

Views

376

Likes

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
May 01, 2016 0
LEGEND ,
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?

Likes

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
Reply
Loading...
May 02, 2016 0
Community Beginner ,
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.       

Likes

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
Reply
Loading...
May 03, 2016 0
LEGEND ,
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);

}

Likes

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
Reply
Loading...
May 05, 2016 1
sumaya77 LATEST
Community Beginner ,
Sep 11, 2016

Copy link to clipboard

Copied

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

Likes

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
Reply
Loading...
Sep 11, 2016 0
New Here ,
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?

Likes

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
Reply
Loading...
Jul 22, 2016 0
LEGEND ,
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?

Likes

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
Reply
Loading...
Aug 01, 2016 0
New Here ,
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.

Likes

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
Reply
Loading...
Aug 01, 2016 0