Skip to main content
andrew wake
Inspiring
January 12, 2015
Answered

Responsive HTML5 in-context help broken after upgrade to 11.03.268

  • January 12, 2015
  • 1 reply
  • 355 views

Responsive HTML5 in-context help links using robohelp_csh.js and the following function no longer work following upgrading to 11.0.3.

The correct html page is displayed. The contents and index are displayed but are unresponsive and you can't navigate to other pages.


var HH_DISPLAY_TOPIC = 0;
var HH_DISPLAY_TOC = 1;
var HH_DISPLAY_INDEX = 2;
var HH_DISPLAY_SEARCH = 3;
var HH_HELP_CONTEXT = 15;


function RH_ShowHelp(hParent, a_pszHelpFile, uCommand, dwData)
{
// this function only support WebHelp
var strHelpPath = a_pszHelpFile;
var strWnd = "";
var nPos = a_pszHelpFile.indexOf(">");
if (nPos != -1)
{
  strHelpPath = a_pszHelpFile.substring(0, nPos);
  strWnd = a_pszHelpFile.substring(nPos+1);
}

    RH_ShowWebHelp(hParent, strHelpPath, strWnd, uCommand, dwData);
}

 
function RH_ShowWebHelp(hParent, strHelpPath, strWnd, uCommand, dwData)
{
// hParent never used.
ShowWebHelp(strHelpPath, strWnd, uCommand, dwData);
}


function ShowWebHelp(strHelpPath, strWnd, uCommand, nMapId)
{
var a_pszHelpFile = "";
if (uCommand == HH_HELP_CONTEXT)
{
  a_pszHelpFile = strHelpPath + "?rhcsh=1&rhmapno="+ nMapId +"&rhnewwnd=0";
       
        // Note: On IE, specifing the help window causes a blank intermediate window to open,
        // which fails to close.  To prevent that we don't bother specifing the window any more.

        //if (strWnd) {
        //    a_pszHelpFile += "&rhwnd=" + strWnd;
        //}
}


if (a_pszHelpFile)
{
        var leftPosition,topPosition, height, width;

        width = window.screen.width * 0.8;
        height = window.screen.height* 0.8;
        leftPosition = window.screen.width * 0.1;
        topPosition = window.screen.height * 0.1;

  var sParam = "left="+leftPosition+", top="+topPosition+", width="+width+", height="+height+", resizable=yes";
  window.open(a_pszHelpFile, "__webCshStub", sParam);
}
}

This topic has been closed for replies.
Correct answer Amebr

I don't remember seeing any other reports of this problem. Have you reported it to Adobe? Adobe - Feature Request/Bug Report Form

Edit: Willam's site lists patches and hot-fixes. There is a post-11.0.3 hotfix you could potentially try.

RoboHelp Patches and Updates | WvanWeelden.eu

http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform&product=38

1 reply

AmebrCommunity ExpertCorrect answer
Community Expert
January 13, 2015

I don't remember seeing any other reports of this problem. Have you reported it to Adobe? Adobe - Feature Request/Bug Report Form

Edit: Willam's site lists patches and hot-fixes. There is a post-11.0.3 hotfix you could potentially try.

RoboHelp Patches and Updates | WvanWeelden.eu

http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform&product=38