Sub menus dropdown over all the objects on the page (select, flash, object, embed). Design personal styles for any submenu and item. Use images for icons, backgrounds of items. Using images you can create menus entirely based on graphics.
Insert button script into the existing HTML page You can insert your button script into the existing HTML page. To do so, click "Page insert" button on the Toolbar.
menu highlight slider Cross Browser Menu Full cross-browser compatibility including IE, Netscape, Mozilla, Opera, Firefox, Konqueror and Safari
Save project. Save your image buttons as html You can save current project in the project file (*.xwb) or into the HTML file (*.html).
Let's assign text to the subitems. Select first item in the submenu by clicking it and then enter text in the "Text" field on the Properties toolbox. You will see that, as you enter the text, the selected submenu's text will change too.
Then select next item in the submenu with click. Enter its text and so on. After finishing, the menu will look like this:
Let's change the submenu theme. To do it just select theme you like in the submenus themes list on the Themes toolbox. Then you can browse this theme's submenu backgrounds. Note, that submenu backgrounds are previewable. You can look at their behavior while choosing. Just point mouse at it to know how submenu will react.
When you find a submenu background you like, double-click it to apply. For example, after choosing one of the "blue" theme's backgrounds, we'll get following results:
Now let's add some icons. Select submenu item and then click the "Open icon" button on the "Selected Item" tab of the "Submenus" toolbox.
"Open" dialog will appear, where you can choose an icon. Other way to assign an icon is to type its full path and name in the "Icon" field ("c:\myicons\stylish_3\pretty.ico", for example). Repeat this for each submenu item. You should get something like this in result:
Code Examples from Java Swing, 2e A simple frame containing a "toolbar" made up of several java.awt.Button objects. An example of radio button menu items in action. SeparatorExample. A quick demonstration