Custom JSP taglib for UI development. This taglib implements a
simple CSS menu. For example:
and you will get the following picture:
Menu here is a collection of links or JavaScript calls.
Tags are:
Menu
Body tag provides a CSS menu. Parameters are:
1) orientation Optional parameter. Describes
an orientation. Possible values are horizontal or vertical.
Default value is horizontal.
2) width Optional parameter. Describes
a width for your options. Default value is 75px.
3) height Optional parameter. Describes
a height for your options. Default value is 25px.
4) background Optional parameter. Describes
a background color for your options. Default value is #ddd.
5) color Optional parameter. Describes
a color for your options. Default value is black.
5) itemBackground Optional parameter. Describes
a background color for the current option. Default value is black.
6) color Optional parameter. Describes
a color for the current option. Default value is white.
7) activeBackground Optional parameter. Describes
a background color for the selected option. Default value is black.
8) activeColor Optional parameter. Describes
a color for the selected option. Default value is white.
item
Body tag describes an item (option) in your menu. Parameters are:
1) value Optional parameter. Describes an action for this option: URL or JavaScript calls.
You may omit this parameter for disabled options.
2) style Optional parameter. Describes
your own CSS style for this option.
for downloading:
Library: menutag.jar Description: taglib.tld
See also Coldtags suite - the largest collection of custom JSP tags.