Sunday, December 28, 2014

How to work with Show Pop-Up Menu Behavior in Dreamweaver?

             You use the Show Pop-Up Menu behavior to create or edit a Dreamweaver pop-up menu or to open and modify a Fireworks pop-up menu you've inserted in a Dreamweaver document.
              You set options in the Show pop-Up Menu dialog boxes to create a horizontal or vertical pop-up menu. You can use this dialog box to set or modify the color, text, and position of a pop-up menu.

To use the Show Pop-Up Menu action:

1.     Select an object to attach the behavior to and open the Behaviors panel (Shift+F3).
2.     Click the plus (+) button and choose Show Pop-Up Menu from the Actions pop-up menu.
3.     In the Show Pop-Up Menu dialog box that appears, use the following tabs to set options for the pop-              
        up menu:
Contents allow you to set the name, structure, URL, and target of individual menu items.

Appearance enables you to set appearance of the menu's Up State and Over State and to set font choices for menu item text.

Advanced allows you to set the properties of the menu cells. For example, you can set cell width and height, cell color and border width, text indention, and the length of delay befor the menu appears after the user moves the pointer over the trigger.

Position lets you set where the menu is positioned relative to the triggering image or link.

Adding, removing, and changing the order of pop-up menu items

          You use the contents tab in the Show Pop-Up Menu dialog box to create menu items. You can also use this tab to remove existing items, or to change the order in which they appear in a menu.

To add pop-up menu items:
1.     In the contents tab, create a pop-up menu item by doing the following:
        In the Text files  select the default text (New Item), then type the text you want to appear in the pop-up
        menu.
2.     Set additional options, as desired:
        If you want the menu item to open another file when clicked, in the link field, type the file path or click  
        the Folder icon and browse to the document you want to open.
3.     If you want to set a location in which the document open, for example in a new window or in a specific
        frame, in the Target pop-up menu choose the desired location. Note: If the frame you want to target
        doesn't appear on the Target pop-up menu, close the show Pop-Up Menu dialog box, then in the
        Document window select and name the frame.
4.     Click the plus (+) button to add additional entries to the Show Pop-Up Menu preview list. When you
        finish adding menu items, click OK to accept the default settings or select another Show pop-Up Menu
        tab to set additional options.

To create a sub menu item:
          In the Show Pop-Up Menu list, select the item you want to make into a sub menu item, then do one of the following:
            #     To indent an item in the menu list, click the Indent Item button.
            #      To remove an indent, click the Out dent Item button.
Note: You cannot make the first menu item in a list a sub menu item.

To change the order of an item in the menu:
            In the Show Pop-Up Menu list, select the item you want to move up or down, then click the Up or down arrow to move the item where you want it to appear.

To remove an item from the menu;
1.     In the contents tab, select the menu entry you want to remove in the Show Pop-Up Menu list.
2.     Click the minus (-) button.