Prerequisites:
Basic understanding of HTML, graphics and the Internet.
In this tutorial you will learn how to create a simple navigation
bar using Fireworks. You will also learn how to add JavaScript behaviors
to create rollover effects and a drop down menu. This tutorial is
divided into four lessons:
- Using Fireworks MX Drawing Tools to Create a Button
- Creating button symbol in Fireworks
- Duplicating symbols to create multiple buttons
- Using the Pop-Up Menu Behavior in Fireworks MX
Lesson 1: Using Fireworks Drawing Tools to Create a Button
- Open Fireworks MX.
- Select File > New from the top menu.
- Set the canvas size to 500 pixels X 100 pixels
- Save this file as Navigation.
(This file can be saved anywhere on your computer, however it is best
to create a directory (New Folder) to store the files you will work
with in this tutorial).
- Make sure the toolbar is open. It should be displayed on the left
side of the screen. If it is not, select Window > Tools
from the top menu.
- Select the rectangle tool from the tool bar.
7. Select any Fill Color and Stroke Color
you would like to use for your button from the bottom of the toolbar.

-
Draw a rectangle on the canvas.( Once the rectangle tool is selected,
when you move the cursor to the canvas, your cursor will look like
a small cross hair. Click and drag your mouse to 'draw' a rectangle.)
-
Switch back to your pointer tool
.
HINT: Unlike some graphic programs, once you draw a shape
on the screen you must switch back to the pointer tool in order to
modify that shape. If you try to click on the screen without doing
this, you will end up drawing multiple rectangles on the screen.
The shortcut to switch back to the pointer tool isto click the letter
V on your keyboard.
-
Click once on the rectangle you drew to select it.
-
Use the Properties panel to set the width of
your button to 84 and the height to 21 pixels.Set the x and y position
each to 0. If you do not see the properties panel, go to Windows
> Properties and be sure this option is checked.
*Press Enter after typing the last digit to be sure the information
is applied.

You can also adjust the fill color and line color using
the Properties panel.
Add the Triangle
The next step will be to draw the triangle for the button
- Select the Polygon Tool from the Tools panel. This is located the
same place on the toolbar as the rectangle tool.
- In the Properties panel, set the following properties:

- Select a fill color that contrasts with the color of your rectangle.
- Draw the polygon on the stage so it is placed right over the rectangle
similar to the image below.

*Once the triangle is drawn you may use the pointer tool
to adjust it’s position.
Adding Text
The next step is to add the text for this button.
-
Select the text tool (
)from
the tool bar.
-
Use the Properties panel to set the text font,
size and color. Be sure to select a color that allows the user clearly
see the text over the button background.

-
Click once with the text tool on top of the rectangle button you
drew earlier and type Home
as the button label.
-
Use the pointer tool to reposition the text over the button as desired.
Lesson II: Converting a Graphic to a Button Symbol
-
Once your button looks the way you would like, select each piece
– the background rectangle, the triangle and text. To do this
you can drag your mouse across the screen so it passes through each
object, or hold down the Shift key and select each item separately.
-
Select Modify > Symbol > Convert
to Symbol (F8) from
the top menu to convert the graphic into a symbol.
-
Give the symbol the name btnHome and set the type to Button.

-
Click OK to save the changes.
- You will see a green highlight over your button. This is called
a slice. A slice in Fireworks is used to cut larger graphics
into smaller pieces. Each of these peices (or slices) can be optimized
and exported as an individual file. The slice also contains HTML
code for the graphic including things like the image name, alternative
text tag and other properties.
- Double click on the green slice area.
Note: Be careful NOT to click on the circle
in the center of the slice. Only double-click on the solid green
area of the slice.
- You are now inside of the button editing mode. From here, you can
create button states. Button states are used to control what the
button will look like when the user interacts with the button - for
example, it may change color when the user rolls the mouse over the
button. Tabs along the top of the screen represet each button state.

| Tab |
Description |
| Up |
They way the button will appear when the user first enters
the page and when the mouse is not interacting with the button. |
| Over |
The way the button will appear when the user rolls the mouse
over the button |
| Down |
The way the button will appear after it is clicked |
| Over While Down |
The way the button will appear when the mouse is held down
as it passes over the button. |
| Active Area |
The active area sets the size of the sliced area. This is automatically
created to fit the size of your button. |
| NOTE: The Down and Over While Down states will
not be used in this tutorial. |
- We have already created the buttons up state. To alter what the
button will look like when the user rolls the mouse over the button,
click once on the tab labeled Over.
- Click on the button that reads Copy Up Graphic.
This will create a copy of your original grahic.
NOTE: Be careful not to move this image. Generally
a roll-over effect the button will change in appearance but not in
size or position.

- Click anywhere in the empty area of the stage so
that nothing is selected.
- Select the triangle graphic by clicking it once.
- Change the fill color of the triangle using either the toolbar
or the properties panel.
- Select the text for the button.
- Change the fill color of the text using either the toolbar or
the properties panel.
- This is what your button will look like when the user rolls the
mouse over the button.
- Click the Done button at the bottom of the button
editor to save your changes.

- This will return you to the navigation page.
- To preview your work,
click the Preview tab
at the top of navigation file.
- Roll your mouse over the home button to see your rollover effect.
NOTE: You may notice a light overlay color on the preview of you
button. To remove this, go to the top menu and make sure that View
> Slice Overlay is unchecked.
- Return to the document by clicking the Original tab
at the top to the left of the preview button.
- You have your first button! The second step is duplicating this
button to create the Services and Contact Us buttons.
Lesson III: Duplicating a Symbol
- All symbols, including buttons, are stored inside of a panel called
the Library. To open the library, select Window
> Library from the top menu.
- Currently you should have one button created called btnHome. To
duplicate this button, first click once to select it in the library
(it will be highlighted in blue as in the image above once selected).
- Click the options button in the top right of the
assets panel.
- Select Duplicate from the options
menu.
- You will see a duplicate button created named btnHome 1.
- Double-click on the btnHome 1 symbol to open its properties.
- Change the name to btnServices.
- Click the Edit button. This will open the button
editor for the new services button. THe only thing to change is the
text for this button.
- Double click on the text that reads Home and change it
to Services.
- Click anywhere on the stage.
- You should get a pop-up box asking if you want to update the text
in the other button states. Click YES. This wil change the text in
both the up and over states of the button.
- Click Done.
- Drag a copy of the btnServices button from the library onto the
stage.
Note: You may use the arrow keys on the keyboard
to move the button slightly.
- Place the services button directly next to the home button. Your
navigation bar should look similar to the image below:
- Repeat steps 2-14 to create a third button. CHange the name to btnContact and
change the text on the button to read Contact Us.
- Your navigation bar should look similar to the image below:
- Congratulations! You have your navigation bar. Save
your file.
Lesson IV: Using the Pop-Up Menu Behavior in Fireworks MX 2004.
In addition to rollover buttons, you also see pop-up menus. These
type of menus come in handy when you want the user to quickly choose
from a list of options, without ‘cluttering’ the page
with too many options. To see an example of a basic drop down menu,
roll your mouse over the Services button below:
In this lesson we will create a simple drop down menu on the services
button similar to the one above.
-
Open the navigation file if it is not already
open.
-
Click once on the mouse over the center of the services
button slice (
).
-
Select Add Pop-Up Window from the drop down list.
-
Within the Pop-Up Menu properties panel, double-click on the first
row under the Text column.
-
Type the text Classroom Training. This will be the text
displayed to the user as the first item in the menu.
-
Tab to the Link column of the first row. Type
the text http://www.goADSI.com/education/
This is the web address the user will go to if they click on the
Web Development link in the drop down menu.
-
Tab to the Target column of the first row. Select
the option _blank.
The target option allows you to select where the above link will
open. If this column is left blank the link will automatically open
and replace the page the user is currently on.The options are as
follows:
| Target |
Description |
| _blank |
Opens the file in a sepearte new window. |
| _self |
This is the default target which will replace the current page
with the page being linked too. |
| _parent |
This is reserved for use when working with frames and is not
used in this tutorial. |
| _top |
This is reserved for use when working with frames and is not
used in this tutorial. |
Note: _blank is usually used when you are sending the user
to a website that is not part of your own. This way, the user may click
through the website they were directed to in one window, while keeping
your website open in another. When they close one window, your organizations
website will still be open in the background.
-
Click the plus (+) key at the top of the menu to add another option.
-
Add two more drop down items for Web Development and Online Learning.
Set the properties for each option as listed below:
| Text |
Link |
Target |
| Classroom Training |
http://www.goADSI.com/education/ |
_blank |
| Web Development |
http://www.goADSI.com/services/ |
_blank |
| Certification |
http://www.macromedia.com/certification/ |
_blank |
Your menu should look similar to the image below:

-
Click the tab labeled Appearance.
-
In this menu, you may set the design of your pop-up menu. You can
choose HTML or images to display your menu options. (For larger
pop-up menus, it is best to use HTML. HTML menu’s download
faster because they use background and text colors rather than actual
images)
-
Select HTML as the menu type.
-
Select Vertical Menu from the menu drop down options.
-
Select the Font, Size and colors as you desire.
You will see a sample menu at the bottom of the screen to give you
an idea of what your menu options will look like to the user. For
consistency you may want to use the same background colors for the
pop-up as you did for the actual button.

-
Once you select the colors and layout for your pop-up menu, click
the Position tab.
-
Select where you would like the menu to pop-up in relation to the
button itself. For this excersice we want the menu to pop up below
the button. Select the menu positon to the bottom of the slice.

-
Click the done button at the bottom of the screen.
You will notice a small blue outline of where your menu will be.
Pop-Up menus require additional JavaScript that can not be displayed
using the preview option. To preview a pop-up menu, you must test
your file on the browser. To do this, follow the steps below:
-
Save your file.
-
Select File > Preview in Browser > select
the browser you would like to preview the file in.
-
This will display your menu on the browser as the user will see
it. Roll your mouse over the Services button to view the pop-up
menu.
Congratulations!
You’ve got a navigation bar!
Combining the HTML editing power of Dreamweaver MX
and the robust, web graphic design capabilities of Fireworks MX is
the best way to create efficient, attractive websites. To
learn more about using Fireworks and other Macromedia programs, sign-up
for training today! We offer certified instruction at affordable
prices with additional back-to-school discounts
for classes offered in September and October. Sign-up for two classes and you will even
receive a $50 discount! So don’t
wait – sign
up today!