Menu word taglib ver. 1.2

    Custom JSP taglib for UI development. This taglib lets you create a pull down menu associated with some text on your page. For example:
 


<%@ taglib uri="taglib.tld" prefix="m" %>

It is <m:MenuWord>
  <m:text>a special word</m:text>
  <m:link value="javascript:alert('Option 1')">Option 1</m:link>
  <m:link value="/index.html">Option 2</m:link>
</m:MenuWord> in your text

and you will get the following picture (try to move cursor over a special word):

It is a special word in your text

Pull down menu will be associated with text, provided in text tag. Menu here is a collection of links or JavaScript calls.

See also Tooltip taglib in Coldtags suite.

Tags are:

MenuWord

Body tag provides a pull down menu associated with some text. Parameters are:
1) id Optional parameter. Describes a DHTM id for this control.
2) style Optional parameter. Describes your own CSS style. Default value is cursor:pointer; text-decoration:underline.
3) menuStyle Optional parameter. Describes your own CSS style for the menu. Default value is background-color:white.

text

Body tag describes your text. Parameters are: none

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
2) className Optional parameter. Describes your own CSS class for this option.
3) style Optional parameter. Describes your own CSS style for this option.

for downloading:

Library: menuwordtag.jar    Description: taglib.tld

© Coldbeans      Comments?

See also Coldtags suite - the largest collection of custom JSP tags.