Custom buttons in WebHelp Toolbar?

This forum is for all Flare issues related to the HTML5, WebHelp, WebHelp Plus, and Adobe Air Targets
Post Reply
GlennV
Propeller Head
Posts: 16
Joined: Fri Oct 09, 2009 8:08 am

Custom buttons in WebHelp Toolbar?

Post by GlennV »

Hi again,

Is it possible to implement custom buttons in the WebHelp toolbar?
Rather than Back, Forward, Search, etc. I'd like to place custom buttons that open new windows to various support sites, such as our forum, and KB site.

I imagine it might be easier to create a snippet for the topic toolbar, but the design team has these links in the toolbar where the default MadCap logo is.

If possible, how might I go about doing this?

Thanks,

Glenn
Madcap Guru
Sr. Propeller Head
Posts: 238
Joined: Tue Mar 17, 2009 10:41 pm

Re: Custom buttons in WebHelp Toolbar?

Post by Madcap Guru »

You can create your own buttons, and then on the Onclick action you can have it run a java script that you create that will direct you to what ever website you want.
Rick Ferrell
____________________________

Former Flare and Robohelp Support
Image
GlennV
Propeller Head
Posts: 16
Joined: Fri Oct 09, 2009 8:08 am

Re: Custom buttons in WebHelp Toolbar?

Post by GlennV »

Thanks Rick,

Yes, I found the OnClick field and tried pasting in java script. It didn't work and caused the About functionality to stop working.

There's nothing in the Help file about how to use the OnClick feature. Can you provide me with an example of java script that will work?

Thanks,

Glenn
NorthEast
Master Propellus Maximus
Posts: 6426
Joined: Mon Mar 05, 2007 8:33 am

Re: Custom buttons in WebHelp Toolbar?

Post by NorthEast »

Something like:

Code: Select all

window.open ("http://www.madcapsoftware.com");
... to open in a new window.

Or to open a page in the topic body frame:

Code: Select all

parent.body.location.href("http://www.madcapsoftware.com");
GlennV
Propeller Head
Posts: 16
Joined: Fri Oct 09, 2009 8:08 am

Re: Custom buttons in WebHelp Toolbar?

Post by GlennV »

Thank you Dave!

That did the trick alright. Thank you so much for your help.

Glenn
Post Reply