6 Replies Latest reply on May 14, 2010 8:06 AM by Peter Grainge

    RH8 Webhelp not working with IE8 - potential workaround

    SaundraLD

      So after about 2 hours on the phone with Adobe, and no luck getting even an ounce of support, I'm totally frustrated and ready to give up.

       

      Problem - generate webhelp with RH8, display in IE8. Browser opens, spawns a blank window. Help might be displayed the first time, but subsequent calls, no help displayed. One developer has trusted sites listed and they NEVER get help to show up, not even the first time.

       

      Research - developers did some debugging and found that even though we are using IE8, we fall into the IE5 branch of the whcsh_home.html file.

       

      RH call from the code being used is:

       

                        RoboHelp_CSH.RH_ShowHelp(0, url, RoboHelp_CSH.HH_HELP_CONTEXT, roboHelpTopicId);

       

      Here is a snippet of the code where the failure is happening (the failure line is bold and larger font size:

       

      if(gbIE5)
           {
            var curWnd = null;
            curWnd = window.open("about:blank",sNewName,strOpt);
            goNewWnd=window.open(sURL,sNewName);
           }
           else
           {
            gsURL = sURL; // IE4 had hard time to handle bookmark.
            goNewWnd=window.open("about:blank",sNewName,strOpt);
           }
           setTimeout("postWindowOpen();",100);

      Temporary solution that we used - now this isn't optimal, but at least we can actually SEE the help instead of staring at a very blank window... We replaced a section of the bolded line above as follows (replace about:blank with javascript:false)

       

      if(gbIE5)
           {
            var curWnd = null;
            curWnd = window.open("javascript:false",sNewName,strOpt);
            goNewWnd=window.open(sURL,sNewName);
           }
           else
           {
            gsURL = sURL; // IE4 had hard time to handle bookmark.
            goNewWnd=window.open("about:blank",sNewName,strOpt);
           }
           setTimeout("postWindowOpen();",100);

       

      What this does for us - well, we now can see help! Every time you make a CSH call you get a new tab in the IE8 browser window for that help call. Make 30 help calls, get 30 tabs.

       

      I have been unsuccessful in getting through to someone from Adobe to log this as a bug.

       

      I hope this helps someone.