Hiding the webhelp toolbar on one page

This forum is for all Flare related Tips and Tricks.
Have a tip or trick you use while working in Flare? Share it here.
Post Reply
jmenning
Propeller Head
Posts: 50
Joined: Thu Jul 20, 2006 2:52 pm

Hiding the webhelp toolbar on one page

Post by jmenning »

This took me a bit of time to figure out (I is not a programmer), and I didn't find anything in the forums about it, so I thought I'd share it here.

I have an HTML Help project that uses the WebHelp toolbar to add expand all/collapse all capability and a feedback link. However, I wanted to hide those features on the start page (kind of a splash page).

So, I inserted a bit of javascript on the page. Basically, this checks to see if the toolbar exists and then hides it.

Code: Select all

// Hides the WebHelp toolbar on this page
if (document.getElementById("mctoolbar") != null) {
document.getElementById("mctoolbar").style.display = "none";
}
MC Hammer
Sr. Propeller Head
Posts: 225
Joined: Wed Aug 08, 2007 3:04 am
Location: In a galaxy far, far away

Re: Hiding the webhelp toolbar on one page

Post by MC Hammer »

Hi there
Just to thank you for your tip.
I added your script to our javascript and it works fine. No more popups with a WebHelp toolbar!
Marie-Claire
Flare 2019 r2 - Windows 10 Pro - HTML5 help / "clean" XHTML output
MarinaMichaels
Sr. Propeller Head
Posts: 137
Joined: Fri Aug 01, 2008 2:23 am
Location: Northern California
Contact:

Re: Hiding the webhelp toolbar on one page

Post by MarinaMichaels »

Is there a way to hide the Toolbar entirely for all pages?

regards,

Marina
MC Hammer
Sr. Propeller Head
Posts: 225
Joined: Wed Aug 08, 2007 3:04 am
Location: In a galaxy far, far away

Re: Hiding the webhelp toolbar on one page

Post by MC Hammer »

Hi there
Yes, there is. In your Skin, go to HTML Help Setup and uncheck the Display toolbar in each topic option in the Misc Options section. Your HTML Help file will not have the WebHelp toolbar displayed in any of its topics.
Hope this helps.
Marie-Claire
Flare 2019 r2 - Windows 10 Pro - HTML5 help / "clean" XHTML output
Post Reply