Create 1-state, 2-state, 3-state and 3-state toggle buttons Use images for icons, backgrounds of submenus and items. Using images you can create menus entirely based on graphics. Create both horizontal and vertical menus and submenus with any amount of menus on one page. Insert any HTML code inside the menu item - be it a form or a picture, a flash-object or a text. This ability allows you to create various menus of any complexity.
Image Navigation Use images for icons, backgrounds of items. Using images you can create menus entirely based on graphics.
creating menu css top row Fonts, Borders and Background Colors Use any necessary font of any color, size and font decoration for normal and mouseover state. Create any available type, thickness and color of a menu's frame. Choose any color for backgrounds of submenus and items.
submenu on mouseover templates Ready to use button templates and submenus themes. In the Themes toolbox you can choose selected buttons and submenu themes for web appearance.
Create your own button themes Theme editor helps you create your own themes or modify existing ones.
Padding and Spacing Specify various values for padding and spacing for the whole menu and for each separate submenu.
Press "Edit Properties..." button to edit button edges width. By default, when you add new button, its edges widths are set to 5. But if you will change preview button size to 100x50 or bigger, you will see that some image elements look "fuzzy" (left image on the picture below). It happened because the play buttons border is not within the edge area.
Set both horizontal and vertical edges width to 10. You can see that the result looks much more precise now. Border is not resized because it is within the edge area now (right image on the picture above).
Click "Save theme" button to save theme changes. Click "Close" button.
API: menu contextmenu.js (YUI Library) Yahoo! UI Library > menu > contextmenu.js (source view) /** * Creates a list of options ... Object literal specifying the * configuration for the contextmenu. ...