This content has been marked as final. Show 6 replies
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:
and replace that exact section with:
You may want to do something similiar for the book titles as well.
Works perfectly! Thanks!
* Oops, guess I double-posted.
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.
It took a bit of looking: In whphost.js:
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.
Awesome, thanks Roger! No more little "toc" popup!