The Button and Navbar Tool is used to
create navigational buttons and button bars for Web pages. Xara can automatically create sophisticated JavaScript rollover effects as well as generate the necessary HTML scripts.When the Button and Navbar Tool is
selected the following options appear on the Infobar at the top of the screen.
New... creates a new button from the selected shape (a separate tutorial will follow on the next page) and determines the number
of buttons, the space between buttons, their orientation (horizontal or vertical) as well as how the buttons will react in the various button states.
Bar Properties...
opens almost the same dialog menu as New and can be used to modify the buttons. An option to create a Back Bar is also present.
Create/Delete States opens a dialog that can automatically creates up to four button
states: Mouse Off, the appearance of the button when the page first loads, Mouse Over, the appearance of the button as the mouse passes over it, Mouse Down, the
appearance of the button when the left mouse button is pressed, and Selected, the appearance of the button indicating the currently selected page. Any state can be deleted and recreated.
Set New Design...
Assigns the appearance of any of the four auto-generated states as the initial Mouse Off state.
The Show Buttons in a Given State drop down list shows the appearance of each
button state once all states have been created. Also included are options to display All States and No States. All States must be selected before Exporting the button bar.
Live Stretching
, when selected, expands the width of the button uniformly to accommodate longer text. All buttons stretch to accommodate the widest measure of text.
Export
creates the JavaScript for the button rollover effects and generates the necessary HTML script, which can be used as is or copied and pasted into your Web page construction software.