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

scripts in html vs. web help

New Here ,
Jan 08, 2011 Jan 08, 2011

Copy link to clipboard

Copied

I inserted a javascript into a topic in an attempt to create tabs that change the text in a sub-window rather than linking to an entirely new page. My tabs work in the web help, but are not displayed in the chm. Are some scripts not supported in HTML help? TIA.

Views

296

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
LEGEND ,
Jan 10, 2011 Jan 10, 2011

Copy link to clipboard

Copied

LATEST

Hi,

The short answer: Regular JavaScript is supported, but there are limitations.

This is because of two things: CHM uses the IE engine to render the pages. This means that the limitations of IE are also the limitations of your CHM. This includes problems with CSS and, sometimes, scripts.

Also, when you use RoboHelp 8, the webhelp uses the XHTML 1.0 transitional standard. This forces IE in a strict rendering mode. In the CHM, the pages use the HTML 4.01 frameset standard, putting IE in a different rendering mode (IE 5.5). This means that your scripts have to be compatible with a IE 5.5 rendering mode.

If you change your script so it will work with CHM, it should also work for WebHelp.

Greet,

Willam

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