Custom JSP taglib for UI development. This taglib lets you create a button
that will open pull down menu. For example:
<%@ taglib uri="taglib.tld" prefix="m" %> <m:MenuButton title="Click me" value="Open menu" buttonStyle="width:90px" menuStyle="width:90px;"> <m:link value="javascript:alert('Option 1')">Option 1</m:link> <m:link value="/index.html">Option 2</m:link> </m:MenuButton> and you will get the following picture:
Menu here is a collection of links or JavaScript calls. Tags are: MenuButton Body tag provides a button with a pull down menu. Parameters are: 1) value Describes a value (caption) for the button.
link Body tag describes an option for the menu. Tag's body describes a value (caption) for the option. Parameters are: 1) value Describes an action for this option: URL or JavaScript calls
for downloading: Library: menubuttontag.jar Description: taglib.tld See also Coldtags suite - the largest collection of custom JSP tags. |
Also in Coldtags:
|