Add a button to topnav header?

This forum is for all Flare issues related to the HTML5, WebHelp, WebHelp Plus, and Adobe Air Targets
Post Reply
VickeryC
Jr. Propeller Head
Posts: 9
Joined: Mon Feb 25, 2019 11:40 am

Add a button to topnav header?

Post by VickeryC »

I would like to add a button to the topnav header in my Flare project (a link for our users to file a support ticket), but can't find an easy way to do so. Can anyone point me in the right direction?

thanks!

Chris
Matze
Sr. Propeller Head
Posts: 163
Joined: Mon Jun 20, 2016 10:35 pm

Re: Add a button to topnav header?

Post by Matze »

Hi,
I´ve a tripane skin with a button (envelope image) on top which opens a mailto for emails to our support page.

Do you need help for creating this button/skin action, let me know?
VickeryC
Jr. Propeller Head
Posts: 9
Joined: Mon Feb 25, 2019 11:40 am

Re: Add a button to topnav header?

Post by VickeryC »

That would be great! Very interested, thank you.
Matze
Sr. Propeller Head
Posts: 163
Joined: Mon Jun 20, 2016 10:35 pm

Re: Add a button to topnav header?

Post by Matze »

Hi,
1. open 'Project Organizer > Skins > YourSkin'.
2. In the Skin go to the 'Styles' tab.
3. In the 'Toolbar Button' section click on [Add Class] on top. My class has the name "support".
4. Design your button.
5. In the 'Event' section insert: window.open("mailto:YOUREMAIL?subject=YOURMAILMESSAGE");
6. In the Skin go to the 'Toolbar' tab.
7. Put your class to the selected right side.

Check if it works :)
VickeryC
Jr. Propeller Head
Posts: 9
Joined: Mon Feb 25, 2019 11:40 am

Re: Add a button to topnav header?

Post by VickeryC »

Topnav doesn't have a Toolbar button section, sadly. It populates with top-level TOC topics and an Account link which I've made display: None.
Post Reply