Skip to main content
Inspiring
May 7, 2013 8:05 PM UTC
Answered

Microsoft JScript runtime error with twisty2a.js in RoboHelp 10

In my RoboHelp 9 WebHelp Pro project, the twisty2a.js ran perfectly for Show All / Hide All. The script is located in the root folder, along with the Show All and Hide All buttons.

In the past few weeks I had my computer replaced and I upgraded to RoboHelp 10. I'm now running Windows 7 Enterprise Service Pack 1 with a 64-bit Operating System, and IE 9.0.8112.16421.

A few days ago I opened the RH9 project in RH10. The conversion appeared to go smoothly, with the exception of some strange formatting in my tables.

Today I noticed that Show Help works, but that it never toggles to Hide All.

I attempted to open twisty2a.js, which had been configured to use the ShowHide One button method, to verify that it was still correct. When I try to open it in RH10, I get a Windows Script Host error:

Line 58, Char 1, "navigator" is underined, 800A1391, Microsoft JScript runtime error

Does anyone know whether this is a RoboHelp issue with the script or whether it might be a Windows configuration issue with my new system?

Thanks as always for any help

I think the problem may relate to the "Determine the browser" section in the script (I tried to insert a PNG, but got an error message ).

Carol

BTW, I tried to format this discussion better, with bullets and indents, but the editor is quite balky. It doesn't even like it when I press Enter to create an empty line.

This topic is closed to new replies. Start a new post to keep the conversation going.
Peter Grainge
Peter GraingeCorrect answer
Community Expert
May 8, 2013 11:01 AM UTC

Carol

I understand that you have been in direct contact with Willam van Weelden and that he is looking into the problem.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

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

5 replies

Peter Grainge
Community Expert
Community Expert
May 8, 2013 8:12 AM UTC

Please download the demo from my site and upgrade that on your machine. Does that work OK?


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Translate
Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
Peter Grainge
Community Expert
Peter GraingeCommunity ExpertCorrect answer
Community Expert
May 8, 2013 11:01 AM UTC

Carol

I understand that you have been in direct contact with Willam van Weelden and that he is looking into the problem.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Translate
Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
Inspiring
May 8, 2013 2:11 PM UTC

Good morning, Peter.

Thanks very much for your reply. Yes, I contacted Willam directly and he sent me a new script that works brilliantly! Whew!

Regards,

Carol

Translate