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?
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.
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 == "")
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);
Thank you so much William. Myself and the development team is totally grateful. This fix worked perfectly!
We just upgraded to 2015 Update 3 and this started happening to us too.
Did anyone ever figure it out?
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?
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.