Behaviors > Using the behavior actions that come with Dreamweaver > Jump Menu |
When you create a jump menu by using Insert > Form Objects > Jump Menu, Dreamweaver creates a menu object and attaches the Jump Menu (or Jump Menu Go) behavior to it. There is usually no need to attach the Jump Menu action to an object by hand. For information about jump menus and how to create them, see Inserting a jump menu.
You can edit an existing jump menu in either of two ways:
You can edit and rearrange menu items, change the files to jump to, and change the window in which those files open, by double-clicking an existing Jump Menu action in the Behaviors panel. | |
You can edit the items in the menu just as you would edit items in any menu, by selecting the menu and using the List Values button in the Property inspector. See Creating a pop-up menu for details. |
To edit a jump menu using the Behaviors panel:
1 | Create a jump menu object if there isn't one already in your document. |
2 | Select the jump menu object and open the Behaviors panel. |
3 | Double-click Jump Menu in the Actions column. |
4 | Make changes as desired in the Jump Menu dialog box, then click OK. |
The Jump Menu Go action is closely associated with the Jump Menu action; Jump Menu Go lets you associate a Go button with a jump menu. (Before you use this action, a jump menu must already exist in the document.) Clicking the Go button opens the link that's selected in the jump menu. A jump menu doesn't normally need a Go button; choosing an item from a jump menu generally causes a URL to load without any need for further user action. But if the visitor chooses the same item that's already chosen in the jump menu, the jump doesn't occur. In general, that doesn't matter, but if the jump menu appears in a frame, and the jump menu items link to pages in other frames, a Go button is often useful, to allow visitors to re-choose an item that's already selected in the jump menu.
To add a Jump Menu Go action:
1 | Select an object to use as the Go button (generally a button image), and open the Behaviors panel. |
2 | Click the Plus (+) button and choose Jump Menu Go from the Actionspop-up menu. |
3 | In the Choose Jump Menu pop-up menu, choose a menu for the Go button to activate. |
4 | Click OK. |