This content has been marked as final. Show 11 replies
Forgive me...but how do I set the nav bar height to "0"?
nothing to forgive, Aaron -
Open your startup file, the one you use to initially open up the help file. Find the section :
var strHTML = "<frameset rows=\"63,*\" . . .
. . . and change it to:
var strHTML = "<frameset rows=\"0,*\"
Which file is that exactly? What is the extension on it? I don't see it in the xpj file, which is what I use to open my project.
Its the filename you choose in your Generated WebHelp output. - the initial startup file, with the frameset.
The name will be different every time, but it's often the name of your project. ProjectName.htm.
Gotcha. However, everytime I re-generate my output, doesn't that file get overwritten? Would I have to do it each time I publish/generate?
I use ReplaceEm a free utility that will search and replace multiple lines in multiple files.
And, you can save your search 'n replace processes to a script, and re-run them with two clicks. Just like a project .xpj or .hpj file, I usually have a .bkr (ReplaceEm) file for each project as well .
I edited the htm file, however, when I view the page, it stil displays the normal sized top nav bar. I even removed all images from the top bar, except for 1 that is 1x1 px to function as the TOC link
There is a parallel piece of "frameset" code in whskin_homepage.htm, with the same number of rows as in the launch page.
I'm not sure whether or when this gets invoked.
Maybe you've already done the following, but it's worth mentioning in case you haven't:
In whstart.js, near the beginning, look for this line:
var gsToolbarOrder = "custom7279|toc|blankblock|banner";
Even if you don't have any buttons, you might see the banner button that you thought you had deleted.
And in whskin_tbars.htm, near the end, look for these lines:
Again, that pesky banner button creeps in.
Aaron, Harvey -
Swapping out that value works for my WebHelp test project with the Buttons skin, using RoboHelp Html X5.0.2 on IE6.0.2 -
- it collapses the top 63-pixel-high frame, and only the left and right panels are visible. So, I am at a loss here - Perhaps you could post your WebHelp output where we can examine it?
I apologize for not trying your suggestion before responding.
Indeed it works for me, too, with RH X5.0.2 and IE6.0.2, as well as current versions of Netscape, Firefox and Opera, on Win 2000.
All that extra stuff I suggested isn't needed for this purpose.
Sometimes I forget to clear the browser cache after generating a revised package.