Skip to main content
September 3, 2008
Answered

WebHelp in Chrome - first look

  • September 3, 2008
  • 29 replies
  • 9059 views
Just downloaded the new Chrome browser from Google, and as I feared, my WebHelp doesn't work (nav pane contents don't display). I am using a skin.

I tried a test project using the default skin and found that only pure html works for navigation pane format (WebHelp Options page 3).
If I use DHTML > Pure HTML the pane comes up empty
If I use Java Applet > Pure HTML I get a message in the pane saying no plugin is available to display the content. The odd thing is that I included some drop-down text (which is javascript, right?) and that woks fine.

Pure html is ok, except there's no Search Input field available. So, I'd love to be able to use dhtml or Java for the nav pane.

If anyone has an idea for getting this to work I'd be grateful for info.

Jeanne
This topic has been closed for replies.
Correct answer vivek_k-GfmzA1
Hi,

Adobe has been working on it and if you do the following changes to your file whvers.js in C:\Program Files\Adobe\Adobe RoboHelp 8\RoboHTML\WebHelp5Ext\template_stock folder.

Add following 2 lines at the top along with other variable declarations.
var gbChrome = false ;
var gbChrome=(gAgent.indexOf("chrome")!=-1);

and then add a condition
if (gbChrome)
{
gbSafari = true ;
gbSafari3=true;
}

This should fix TOC/Index/Glossary/Search loading issues.
I am attaching code from fixed whvers.js file as well.

Please report if you find more issues with Chrome as we are actively trying to fix them.

thanks,
Vivek.
Adobe RoboHelp Team.

29 replies

December 19, 2008
Regarding popups. I'm guessing the behavior I'm seeing is related to this, (from a Google-produced faq at http://www.google.com/chrome/intl/en/webmasters-faq.html)

12. My website's popups aren't appearing in Google Chrome
Google Chrome's default behavior is to minimize and then display only the title bar of pop-ups in the lower-right section of the browser window. Users can view a pop-up's content by dragging its title bar into a more visible position. This allows pop-ups to load, so as not to break the functionality of sites which depend on them. It also prevents undesired pop-ups from covering the page and distracting users.
December 19, 2008
This thread has been a huge help. Thanks, everyone. Now I need an assist with popups. In Chrome, my WebHelp popups open for an instant at a size that seems about right, then they shrink to a size that is way too small. It doesn't matter whether I select auto-size or custom size. Any thoughts? Thanks!
Peter Grainge
Community Expert
Community Expert
November 20, 2008
Not for RH6. This fix builds on many other fixes introduced in RH7.

It still amazes me that when Adobe offered a limited time upgrade to RH7 for $80 not everyone went for it.

Might be worth hunting around to see if you can still find the offer.

You will not find it on Adobe's site now. Might be worth pleading with Customer Support.

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
November 20, 2008
Thanks, Peter.
As regards upgrading to RH7, it's only a matter of corporate policies and decisions, you know, so... I'm sure time will come ;-)

Isabelle
Peter Grainge
Community Expert
Community Expert
November 19, 2008
There are no fixes anywhere for RH8 because it has not been released. Don't know what you saw. Take a look at Snippets on my site. There is a replacement file there.

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
November 20, 2008
Hi all,

Regarding the TOC/Index/Glossary/Search loading issues in Chrome, it seems the suggested correction does not solve the problem for RH6 projects. Is there any other workaround?
Thanks in advance.
Peter Grainge
Community Expert
Community Expert
November 19, 2008
Jennifer

The same problem as originally posted or the same problem Jeff reported?

What fix for RH8 are you referring to? RH8 is not released.

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
November 19, 2008
Sorry about that. I am using Robohelp 7 with webhelp. I checked it in Chrome today, which I had been neglecting to do. And I discovered that the content and index links were not appearing in the left nav. I read an earlier posting of someone having the same problem and the answer was to add code to the file whvers.js. But it was a reply for robohelp 8. I did go in and make the change in the file. But it still is not working.
Here is the code:
// WebHelp 5.10.006
var gbNav=false;
var gbNav6=false;
var gbNav61=false;
var gbNav7=false;
var gbNav4=false;
var gbIE4=false;
var gbIE=false;
var gbIE5=false;
var gbIE55=false;
var gbOpera6=false;
var gbOpera7=false;
var gbKonqueror3=false;
var gbSafari3=false;
var gbChrome=false;

var gAgent=navigator.userAgent.toLowerCase();
var gbMac=(gAgent.indexOf("mac")!=-1);
var gbSunOS=(gAgent.indexOf("sunos")!=-1);
var gbUnixOS=(gAgent.indexOf("linux")!=-1) || (gAgent.indexOf("unix")!=-1);
var gbOpera=(gAgent.indexOf("opera")!=-1);
var gbKonqueror=(gAgent.indexOf("konqueror")!= -1);
var gbSafari=(gAgent.indexOf("safari")!= -1);
var gbWindows=((gAgent.indexOf('win')!= -1)||(gAgent.indexOf('16bit')!= -1));
var gbMozilla=((gAgent.indexOf('gecko')!=-1) && (gAgent.indexOf('netscape')==-1));
var gbChrome=(gAgent.indexOf("chrome")!=-1);



var gVersion=navigator.appVersion.toLowerCase();

var gnVerMajor=parseInt(gVersion);
var gnVerMinor=parseFloat(gVersion);

if(!gbOpera&&!gbKonqueror&&!gbSafari) // opera can mimic IE or Netscape by settings.
{
gbIE=(navigator.appName.indexOf("Microsoft")!=-1);
gbNav=(gAgent.indexOf('mozilla')!=-1) && ((gAgent.indexOf('spoofer')==-1) && (gAgent.indexOf('compatible')==-1));
if(gnVerMajor>=4)
{
if(navigator.appName=="Netscape")
{
gbNav4=true;
if(gnVerMajor>=5)
gbNav6=true;
}
gbIE4=(navigator.appName.indexOf("Microsoft")!=-1);
}
if(gbNav6)
{
var nPos=gAgent.indexOf("gecko");
if(nPos!=-1)
{
var nPos2=gAgent.indexOf("/", nPos);
if(nPos2!=-1)
{
var nVersion=parseFloat(gAgent.substring(nPos2+1));
if(nVersion>=20010726)
{
gbNav61=true;
if (nVersion>=20020823)
gbNav7=true;
}
}
}
}else if(gbIE4)
{
var nPos=gAgent.indexOf("msie");
if(nPos!=-1)
{
var nVersion=parseFloat(gAgent.substring(nPos+5));
if(nVersion>=5)
{
gbIE5=true;
if(nVersion>=5.5)
gbIE55=true;
}
}
}
}
else if (gbOpera)
{
var nPos = gAgent.indexOf("opera");
if(nPos!=-1)
{
var nVersion=parseFloat(gAgent.substring(nPos+6));
if(nVersion>=6)
{
gbOpera6=true;
if(nVersion>=7)
gbOpera7=true;
}
}
}
else if (gbKonqueror)
{
var nPos = gAgent.indexOf("konqueror");
if(nPos!=-1)
{
var nVersion = parseFloat(gAgent.substring(nPos+10));
if (nVersion >= 3)
{
gbKonqueror3=true;
}
}
}
if(gbSafari)
{
var nPos = gAgent.indexOf("version/");
if(nPos!=-1)
{
var nVersion = parseFloat(gAgent.substring(nPos+8,nPos+9));
if (nVersion >= 3)
{
gbSafari3=true;
}
}
}
if(gbChrome)
{
gbSafari=true;
gbSafari3=true;
}
var gbWhVer=true;

Thanks,
Jennifer

November 19, 2008
I am experiencing the same problem with Chrome. I am on Robohelp 7 would the fix be the same as with Robohelp 8
November 6, 2008
sorry, duplicate post
November 6, 2008
I've noticed that two menu options are disabled when I right-click in my help: Save frame as, and Print frame. Is it just me, or does everyone see that?

I'm using RH 7.02.001 and Chrome 0.3.154.9.

Thanks,
-- Jeff
Peter Grainge
Community Expert
Community Expert
September 25, 2008
Katie

Interesting observations but I am not clear how it relates to this thread.

Also you make some comments about RH but nothing specific enough for anyone to respond to.

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
Participating Frequently
September 25, 2008
meKarla and Peter, I have had a fairly easy time getting my project to the 99% point with Robohelp, but I do feel it lacks some customization ability. I did have pretty good luck doing anything I wanted with ePublisherPro. Although not without spending some time reverse-engineering the product since, like Robohelp, much was undocumented.

Anyway, with ePubPro I could create my own xslt scripts to override theirs and make the project do exactly what I wanted and needed--just about anything. I haven't tried yet to reverse engineer Robohelp, but I do find that I wish for greater control in some areas so far, and I'm a little frustrated with a bug or two that I have found and worked around.

Overall it's a good product, but at this point, I don't know how I'm going to accomplish some of the things that I wish to accomplish. These are things that would be a snap to do in ePublisherPro, which I think is better suited to single-sourcing, but does not work as a stand-alone help system. So I guess it really depends on ones needs which product is best.