• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

javascript being duplicated

New Here ,
Nov 04, 2008 Nov 04, 2008

Copy link to clipboard

Copied

Hi,

I am having a problem with RoboHelp adding additional instances of javascript to each topic each time I compile the help.

I am creating WebHelp with RoboHelp HTML version 7.

I have applied javascript to topics in the help project to aid in navigation. The javascript allows the user to show or hide the TOC, and to view the breadcrumb trail of topics.

Whenever I generate the help, RoboHelp will add an extra instance of the navigation items - for example, the topic will display SHOW (to show the TOC) twice at the top of the topic. Also, when I view the project file from RoboHelp, there is now an additional red box in the topic, signifying an (unwanted) additional instance of the javascript. I can delete the additional javascript box, but RoboHelp will add it again the next time I recompile help. And RoboHelp does not stop at two instances, it adds a new instance each time it complies.

How can I prevent RobHelp from adding additional instances of javascript to each topic each time I compile the help?

Thanks for your help.

Views

314

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Nov 04, 2008 Nov 04, 2008

Copy link to clipboard

Copied

Welcome to our community, Andrew

From what you have described, it would seem that you have managed to overwrite your project source files with modified WebHelp output files.

The process of generating WebHelp injects JavaScript into each topic to support the WebHelp functionality. If you repeatedly take that output and re-use it as source, you keep getting more and more instances of JavaScript added and things go downhill in a hurry.

Step one is to figure out how it's happening and stop it. Usually the publishing process is a likely candidate. I'd begin looking there. If you are manually copying the files, you need to stop and seriously re-think things.

Cheers... Rick

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 11, 2008 Nov 11, 2008

Copy link to clipboard

Copied

LATEST
Thanks Rick,

I manually deleted the javascript where it appeared in the project source files. This prevented the javascript from multiplying in the output files after each compile.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp