Toolbar

This forum is for all Flare issues related to the HTML5, WebHelp, WebHelp Plus, and Adobe Air Targets
Post Reply
benone
Propeller Head
Posts: 27
Joined: Sun Apr 27, 2008 11:04 pm

Toolbar

Post by benone »

Hi,

1. How do i resize the tool bar as i need to add a logo there...Replacing Madcap logo(little bigger than that)
2. What could be the possible Javascript for Onclick, to navigate to a website when clicked.


Thnx
Chris!!!
milewski
Propeller Head
Posts: 16
Joined: Tue Nov 25, 2008 5:01 am

Re: Toolbar

Post by milewski »

benone wrote: 1. How do i resize the tool bar as i need to add a logo there...Replacing Madcap logo(little bigger than that)
Open the Skin > Styles (on the left menu) > Frame > Toolbar > Basic > Height
benone wrote: 2. What could be the possible Javascript for Onclick, to navigate to a website when clicked.
Open the Skin > Styles (on the left menu) > ToolbarItem > Logo > Basic > Onlcick and enter the following code substituting your own URL

Code: Select all

window.open('http://www.madcapsoftware.com')
You can specify even more details about the new browser window you are about to create by adding additional attrinbutes.

window.open('url_to_open','window_name','width','height','resizable','scrollbars','toolbar','location','directories','status','menubar','copyhistory')

window_name
Naming your window will allow you to reference it later

width = the width of the new window

height = the height of the new window

resizable = yes or no
Do you want the user to be able to resize the window

scrollbars = yes or no
Should the new window have scrollbars

toolbar = yes or no
Should the new window have the browser navigation bar at the top

location = yes or no
Should the new window show the location box with the current url

directories = yes or no
Should the new window show the extra buttons

status = yes or no
Should the new window show the window status bar at the bottom of the window

menubar = yes or no
Should the new window show the menus at the top of the window

copyhistory = yes or no
Should the new window copy the old browser window's history list to the new window


Hope this helps,
Scott Milewski
Post Reply