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

Words in TOC tooltip truncated on Windows Vista

Guest
Jul 24, 2009 Jul 24, 2009

Copy link to clipboard

Copied

When the text on TOC tooltips in webhelp exceed a certain length, words are truncated. For example, if you have the word "software",  you may have the "s" on one line and "oftware" on the following line.

This does not occur on Windows XP, only on Windows Vista. Has anyone experienced this issue?

I'm using RH7 and the browser is IE7. Operating system Windows Vista.

Views

1.2K

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 ,
Jul 24, 2009 Jul 24, 2009

Copy link to clipboard

Copied

Hi,

I haven't experienced this problem myself, but it seems to me that this problem is an Internet Explorer problem. RoboHelp 7 webhelp uses whthost.js to build the menu. It creates the tooltip bij putting an alt option to the hyperlink, as in the function writeBook (line 256):

sHTML+=");return false;\" title=\""+sName+"\"><img alt=\"Boek\" name=\""+getBId(nIdx)+"\" src=\""+sIcon+"\" border=0 align=\"absmiddle\">";

Sorry for the script, but it gives you insight in the way robo works. Robohelp uses this same method for the entire skin.

This sets a normal alt text for a menu item, similar to the one robo uses for an image. (Yes, it should use title instead of alt, but it doesn't.) Does the same problem occur with images in topics, or do you only have this problem in the menu?

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
Guest
Jul 24, 2009 Jul 24, 2009

Copy link to clipboard

Copied

Thanks for your reply. This only happens to me in the TOC. Anyway the images I use do not have a tooltip. It am not sure if it has to do with IE, because it does work correctly on IE 7 o a Windows XP system. The error only occurs in Windows Vista.

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
LEGEND ,
Jul 24, 2009 Jul 24, 2009

Copy link to clipboard

Copied

Hi again,

I tried your problem on some different objects and I get this problem in the menu as well as in regular topics. I think Vista uses a different method to show tooltips (there's now a difference between tooltips and infotips). I'm sorry, but I don't know what's causing this. Sorry, perhaps another member can help.

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
Guest
Jul 24, 2009 Jul 24, 2009

Copy link to clipboard

Copied

Thanks for looking into this.

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
Guest
Jun 20, 2012 Jun 20, 2012

Copy link to clipboard

Copied

Hi all,

I'm still having this problem when viewing RH9 WebHelp with IE9 on Windows Seven.

As anyone found a solution since the original post here? Possibly something to tweak in one of RH .js files?

Thanks in advance.

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
Guest
Jun 20, 2012 Jun 20, 2012

Copy link to clipboard

Copied

LATEST

FYI, apparently a possible workaround is to edit the whthost.js file so that it does not automatically insert non breaking spaces between the words of the book and topic titles in the TOC tooltips.

For topics, this is in function writeAnItem: change var sName=_textToHtml(getItemName(nIdx)) to var sName=_textToHtml_nonbsp(getItemName(nIdx))

The same goes for function writeBook, for books.

As a result, long strings will wrap up in the tooltips, but between words, not in the middle of a word.

A side effect is that tooltips that did not previously wrap up in Chrome or Firefox (because they both handle tooltips differently than IE9) may now wrap up.

In any case, be sure to backup your original whthost.js file before you make these changes, and also be sure to check the results with different OSs and browsers, to ascertain the workaround will work for your users.

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