Add a button to topnav header?

This forum is for all Flare issues related to the HTML5, WebHelp, WebHelp Plus, and Adobe Air Targets

Add a button to topnav header?

Postby VickeryC on Wed Apr 21, 2021 5:50 pm

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
VickeryC
Jr. Propeller Head
 
Posts: 5
Joined: Mon Feb 25, 2019 11:40 am

Re: Add a button to topnav header?

Postby Matze on Thu Apr 22, 2021 3:07 am

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?
Matze
Sr. Propeller Head
 
Posts: 109
Joined: Mon Jun 20, 2016 10:35 pm

Re: Add a button to topnav header?

Postby VickeryC on Thu Apr 22, 2021 9:37 am

That would be great! Very interested, thank you.
VickeryC
Jr. Propeller Head
 
Posts: 5
Joined: Mon Feb 25, 2019 11:40 am

Re: Add a button to topnav header?

Postby Matze on Thu Apr 29, 2021 3:43 am

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 :)
Matze
Sr. Propeller Head
 
Posts: 109
Joined: Mon Jun 20, 2016 10:35 pm

Re: Add a button to topnav header?

Postby VickeryC on Mon May 03, 2021 6:35 pm

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.
VickeryC
Jr. Propeller Head
 
Posts: 5
Joined: Mon Feb 25, 2019 11:40 am


Return to Web-based Outputs

Who is online

Users browsing this forum: No registered users and 14 guests