Creative FL Drop Down Menu Documentation |
|||
| Creative FL Drop Down Menu > Working with Drop Down Menus > The General Tab > How to Create a Menu Structure Visually | |||
The Edit Menu Structure Wndow has a text area where you can create the menu structure:

my_button_title,my_link,my_target
The link and target are not required. If you do not specify a link then the button will have no link. If you do not specify a target, "_self" will be used.
Home,http://www.extendstudio.com
Products,http://www.extendstudio.com/Products/ Contact,http://www.extendstudio.com/Contact/,_blank
Also, ActionScript functions can be attached to button. In order to add an AS function to a button you will have to add the function name instead of the link, preceded by “as:”. For example, the "Home" button will call the _root.openHome function and "Products" will call _root.openProducts:
Home,as:_root.openHome
Products,as:_root.openProducts
My_Menu_Item_no1
>My_SubMenu_Item_no1
>My_SubMenu_Item_no2
>My_SubMenu_Item_no3
My_Menu_Item_no2
This means you have two menu buttons, the first having three submenus. By using this simple hierarchy you can create as many submenus as you like to, just by adding an extra “>” sign each time you go in depth with your menu.
NOTE: If you want to have multiple line text on a button you just have to place a '\n' sequence of characters where you want the new line to begin.
Adding the ',' and ' >' characters in the menu
Since these characters are used for markup in the menu structure, you will not be able to use them directly in the labels of the buttons (because they will be interpreted as markup).
In order to use these characters you will have to replace them with the following expressions:
, - {XTD_COMMA}
> - {XTD_GT}
So if you want the label for your button to be “> Components, Extensions” you will have to write in the menu structure “{XTD_GT} Components{XTD_COMMA} Extensions”
You may select any menu button on page loading. This is a useful option when you want to open any particular page from you website at start and this needs to be reflected in your menu.
In order to open a menu with one button selected you need to place the "*" sign in front of the desired button name. The "*" sign has to be the first element on the line.
My_Menu_Item_no1 *>My_SubMenu_Item_no1
>My_SubMenu_Item_no2
>My_SubMenu_Item_no3 My_Menu_Item_no2
See also:
The General Tab, The Layout Tab, The Animations Tab, The Text Tab, The Presets Tab, The Preview Window , The Advanced Resizing Window.
|
|||