Adding/Creating a Home Toolbar Button

This forum is for all Flare issues not related to any of the other categories.
Post Reply
rcbarrette
Propeller Head
Posts: 10
Joined: Wed Oct 10, 2012 2:58 pm

Adding/Creating a Home Toolbar Button

Post by rcbarrette »

Is there a definitive, fool-proof way to create a Home toolbar button (for HTML5 output)?
NorthEast
Master Propellus Maximus
Posts: 6426
Joined: Mon Mar 05, 2007 8:33 am

Re: Adding/Creating a Home Toolbar Button

Post by NorthEast »

1. Create a new toolbar button.
2. In the skin editor, set the property for Event > Click to:

Code: Select all

window.location.assign('#');
For help on the skin/toolbar properties see:
http://webhelp.madcapsoftware.com/flare ... Output.htm
rcbarrette
Propeller Head
Posts: 10
Joined: Wed Oct 10, 2012 2:58 pm

Re: Adding/Creating a Home Toolbar Button

Post by rcbarrette »

Thanks. That worked!

Now, how do I add a graphic (or text) to my new button?
sdcinvan
Propellus Maximus
Posts: 1260
Joined: Wed Aug 21, 2013 11:46 am
Location: Vancouver, Canada

Re: Adding/Creating a Home Toolbar Button

Post by sdcinvan »

rcbarrette wrote:Thanks. That worked!

Now, how do I add a graphic (or text) to my new button?
Okay, the next steps are:

First create a button.
It needs to be a transparent .png of 16 pixels by 16 pixels.

You may start by editing a default Flare button. You will find these buttons under MadCap Software\MadCap Flare V9\Flare.app\Resources\WebHelp2\Desktop\Skins\Default\Stylesheets\Images
printer.png is an example.

1. In the Skin editor, click on the Styles tab, in the Styles list, scroll to your style (in this case, the newly created Home) and select it.
2. Scroll down through the Properties to Background
3. Scroll to Background Image and browse for your new button.

Note that once you set and save your new button, any edits to the button image require you to go through the above steps to update the button image.

Here is my home button... which you may use (it isn't perfect... just a quick and dirty...)
home.png
And how it looks with the other buttons:
14-11-2013 3-48-56 PM.png
You do not have the required permissions to view the files attached to this post.
Shawn in Vancouver, Canada
Main tools used: Flare 11.x, InDesign, Google Docs, Lectora, Captivate.
Report bugs: https://www.madcapsoftware.com/feedback/bugs.aspx ▪ Feature requests: https://www.madcapsoftware.com/feedback ... quest.aspx[/i]
cjobrie
Propeller Head
Posts: 12
Joined: Fri Sep 13, 2013 9:27 am

Re: Adding/Creating a Home Toolbar Button

Post by cjobrie »

Thanks for posting this. It helps a lot.
crashnburn
Jr. Propeller Head
Posts: 5
Joined: Thu Jul 03, 2014 4:13 am
Location: Wrotham, Kent-UK

Re: Adding/Creating a Home Toolbar Button

Post by crashnburn »

Yes worked a treat, I now have a home button and some more in my new Flare 11 site.. Thankyou
cdschroeder
Sr. Propeller Head
Posts: 189
Joined: Mon Feb 22, 2016 9:18 am
Location: Cincinnati, OH

Re: Adding/Creating a Home Toolbar Button

Post by cdschroeder »

Old thread, I know. But this was incredibly helpful to me, and I wanted to share my new home icon for anyone else who might need one.

Here is the button:
home.png
Here's how it looks on the toolbar:
toolbar.png
Casey

Image
kevinmcl
Sr. Propeller Head
Posts: 252
Joined: Mon Sep 11, 2006 10:58 am

Re: Adding/Creating a Home Toolbar Button

Post by kevinmcl »

Hey! What a cute dog house!

:twisted:
De gustibus non disputandum est
Post Reply