<<Back to Web Design Graphics Tips and Techniques
Pop-up menus are menus that display as the pointer rolls over or clicks a triggering slice or hotspot. They give your pages a great deal more navigational flexibility without long download times. You can define the appearance of the pop-up menu so that it matches the overall look and feel of your Web site. A pop-up menu is similar to a table: each menu entry is like a table cell. You can customize the menu by choosing from a selection of font types, cell colors, and background image styles.
The Set Pop-up Menu wizard walks you through building the menus from start to finish. Menus are created in two stages. In the first stage you can enter menu text, create submenus, and specify the URL addresses the menu entries point to.
The second stage lets you define the menu's appearance and lets you specify a background image, a font, and the Up and Over states for the menu entries.
The following steps show how to create basic menu entries for a pop-up menu.
To create pop-up menu entries:
Place a slice or hotspot onto the object you want to use to trigger
the pop-up
menu.
Once you have entered your menu text, the wizard's next screen lets
you define
the menu's appearance.
To
set the appearance
of a pop-up menu:
When you insert
a pop-up menu, a blue outline of the menu appears on or near the slice. The
outline looks
like a blank table linked to the slice by a drag-and-drop behavior line.
Note: The number
of cells in the outline mirrors the number of main menu entries.
Submenu entries
are
not represented by cells in the outline.
Editing a pop-up
menu
You can edit the contents of a pop-up menu, rearrange the menu
items, and move
the pop-up menu outline so it appears anywhere on the canvas. You can edit a
pop-up menu by opening the Set Pop-Up Menu wizard and updating the
menu's contents.
There are two ways to open the Set Pop-Up Menu wizard: Double-click
the pop-up
menu outline. Double-click the Show Pop-Up Menu behavior for the slice in the
Behaviors panel.
To change the
text of a menu item:
To rearrange a menu item in the menu:
To changing
the position of a pop-up menu:
You can move a menu outline so that the pop-up menu appears anywhere on the
canvas. By default, the menu appears on the slice to which it is
attached.
To export a pop-up menu:
Fireworks generates all the JavaScript necessary to view the menu
on a Web browser.
When the document is exported, this JavaScript is exported to the
same location
as the rest of the files, in a file called menu.js. When you upload
your files,
menu.js should be uploaded to the same directory location as the
Web page containing
the pop-up menu. If you want to post the file to a different location, then
all the hyperlinks referencing menu.js in the Fireworks HTML code
must be updated
to reflect the custom location.
If your document
contains several pop-up menus, Fireworks does not create extra menu.js files;
only a
single file is used per document.
When you include submenus, Fireworks generates an image file called Arrow.gif. This image is the tiny arrow that appears next to a main menu entry that tells users a submenu exists. No matter how many submenus your document contains, Fireworks always uses the same Arrow.gif file.
<<Back to Web Design Graphics Tips and Techniques