Custom JSP taglib for your UI development. This taglib lets
you define a popup window opened (hided) through the mouse movement. In other words you can
for example output some text and define a help (explanation, details etc.) that will be
on when mouse is moved over your text. For example:
<%@ taglib uri="taglib.tld" prefix="t" %> <t:tooltip> <t:text><em>Element 1</em></t:text> <t:help>It is an explanation for Element 1</t:help> </t:tooltip> and you will get this picture (try to move mouse over the text):
Tag does not output popup window if text provided in help tag is empty. Tags are: tooltip Body tag defines a text with some explanation (tooltip). Parameters are: 1) cond Optional parameter. Describes a boolean value tag's behavior depends on. Default value is true (output tooltip). text Body tag describes a JSP (HTML) code for the main text. Parameters are: 1) style Optional parameter.
Describes a CSS style for your text.
help Body tag describes a JSP (HTML) code for your popup window. Parameters are: 1) style Optional parameter.
Describes a CSS style for your window. Default value is position:absolute;visibility:hidden;background-color:yellow;padding:3px;border-style:solid;border-color:black;border-width:1px;margin-top:5px;
for downloading: Library: tooltiptag.jar Description: taglib.tld See also Coldtags suite - the largest collection of custom JSP tags.
|
Also in Coldtags:
|