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=
...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?
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.
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);
}
Copy link to clipboard
Copied
Thank you so much William. Myself and the development team is totally grateful. This fix worked perfectly!
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?
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?
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.