|
Creating a graphical navigation bar in Fireworks
When you want to create a more dynamic or graphical navigation bar, Fireworks makes it easy to turn your original graphics into navigation buttons with multiple rollover states.
View a navigation bar with two rollover states for each button created in Fireworks.
Example 2: Graphical navigation bar made in Fireworks and implemented in Dreamweaver
Create a new document in Fireworks that has the same dimensions that you want for the completed navigation bar. Use the Button Editor to create a button with two rollover states as follows:
 |
Create or import a graphic for the button's Up state. |
 |
Click the Over tab and modify the Up state graphic or create or import a new graphic for the button's Over state. |
 |
Click the Active Area tab to automatically create a slice the size of the button's bounding box. |
 |
Click the Link Wizard to attach a URL to the rollover. |
For detailed information on using the Button Editor, see Creating buttons in Fireworks 3 online Help.
In the example, the button text changes color to indicate the Over state, and the gradient highlight on the button shifts to indicate the Down state. You can achieve similar effects using Live Effects to apply bevels, glows, or drop shadows to buttons. Fireworks includes Live Effects presets for the Inner Bevel and Outer Bevel effects to simplify the creation of common button appearances
(see "Using bevel effects to draw button states" in Fireworks 3 online Help).
After creating the first button for a navigation bar, copy the button and modify it to create additional buttons. In the example, the LINK 1 button was copied twice, and the text and background color changed to create the LINK 2 and LINK 3 buttons.
When you've completed the button rollovers, it's easy to optimize the navigation bar graphics in GIF or JPEG format and export the navigation bar for placement on a Web page. When you export a Fireworks document, Fireworks generates the needed HTML and JavaScript to display rollovers and the HTML table containing the image slices (if used).
This excerpt from the Fireworks-generated HTML code contains the JavaScript specifying the Swap Image behavior for rollovers (and hides the Swap Image function from browsers that don't support JavaScript): |