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

TOC - I gotta ditch the "toc" popup

Explorer ,
Aug 18, 2006 Aug 18, 2006

Copy link to clipboard

Copied

Skinny on Skins has the remedy for the brief popup of "Topic" in the topic area when you jump to another topic or refresh the screen with the pointer in the topic area.

Now I've noticed a smiliar thing happening in the TOC. Refreshing the screen or jumping to another topic and putting the pointer quickly in the TOC area makes a "toc" tooltip-like popup appear.

How do I get rid of this?

Views

455

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

correct answers 1 Correct answer

Contributor , Aug 25, 2006 Aug 25, 2006
ClubHans -

It took a bit of looking: In whphost.js:

find:

var sHTML="<IFRAME ID="+this.msIFrameId+" title=\"" + this.msName + "\" SRC=\""+strFile+"\" BORDER=0 FRAMEBORDER=no STYLE=\"width:";

and replace it with:

var sHTML="<IFRAME ID="+this.msIFrameId+" SRC=\""+strFile+"\" BORDER=0 FRAMEBORDER=no STYLE=\"width:";

you'll be removing this:

title=\"" + this.msName + "\"

You can use ReplaceEm to save and repeat your search routines after each regeneration.

Votes

Translate

Translate
Contributor ,
Aug 23, 2006 Aug 23, 2006

Copy link to clipboard

Copied

ClubHans -

To hide the small tooltip that shows up in the Webhelp TOC, you'll want to open your whthost.js file.

In function writeAnItem(nIdx), locate the line that starts with:

sHTML+="href=\""+_textToHtml_nonbsp(getItemURL(nIdx))+"\" title=\""+sName+"\">

and replace that exact section with:

sHTML+="href=\""+_textToHtml_nonbsp(getItemURL(nIdx))+"\">

You may want to do something similiar for the book titles as well.

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
Explorer ,
Aug 23, 2006 Aug 23, 2006

Copy link to clipboard

Copied

Works perfectly! Thanks!

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
Explorer ,
Aug 23, 2006 Aug 23, 2006

Copy link to clipboard

Copied

* Oops, guess I double-posted.

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
Explorer ,
Aug 23, 2006 Aug 23, 2006

Copy link to clipboard

Copied

Actually, the solution you provided allowed me to get of both the topic tooltip hovers in the TOC and the book hovers.

But the root of this one is getting rid of this: when you stick your pointer in the TOC, and don't have it over any topic or book, hit F5 to refresh the browser window, then move the mouse a little, keeping the pointer in the blank area. Right there on that blank area of your TOC next to your pointer will be a little tooltip that says "toc", all lowercase.

You may have to refresh a couple of times, as it seems that there's some kind of pattern that doesn't make the tooltip appear each time.

It will appear every time you go to a screen that makes the TOC disappear, and hit the back button to go to a screen with the TOC displayed, and then quickly move the mouse into a blank area of the TOC.

That bugger is the one I'm tryin to nab.

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
Contributor ,
Aug 25, 2006 Aug 25, 2006

Copy link to clipboard

Copied

ClubHans -

It took a bit of looking: In whphost.js:

find:

var sHTML="<IFRAME ID="+this.msIFrameId+" title=\"" + this.msName + "\" SRC=\""+strFile+"\" BORDER=0 FRAMEBORDER=no STYLE=\"width:";

and replace it with:

var sHTML="<IFRAME ID="+this.msIFrameId+" SRC=\""+strFile+"\" BORDER=0 FRAMEBORDER=no STYLE=\"width:";

you'll be removing this:

title=\"" + this.msName + "\"

You can use ReplaceEm to save and repeat your search routines after each regeneration.

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
Explorer ,
Aug 28, 2006 Aug 28, 2006

Copy link to clipboard

Copied

LATEST
Awesome, thanks Roger! No more little "toc" popup!

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