PopUp taglib ver. 1.6

    Custom JSP taglib for your UI development. This taglib lets you define a hyperlink that popups some window with your own HTML/JSP code. For example:
 


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

What does
<p:popup onMouse="true">
<p:link><font size="+1">it mean?</font></p:link>
<p:window> this is your explanation<br>for this item</p:window>
</p:popup>. Just click on the link or move your mouse over it.

and you will get this picture:

What does it mean?. Just click on the link or move your mouse over it.

Tags are:

popup

Body tag implements popup window. Parameters are:

1) id Optional parameter. Describes an id for this window (if you have more than one popup element on your page). Default value is popup.
2) onClick Optional parameter. Possible values are true or false. If this value is true new window will be up when you click on the link. Default value is true.
3) onMouse Optional parameter. Possible values are true or false. If this value is true new window will be up when you move your mouse over the link. Default value is false.
4) cond Optional parameter. Describes a boolean value tag's behavior depends on. Default value is true (popup).

link

Body tag describes a link. Parameters are:

1) style Optional parameter. Describes a CSS style for your link. Default value is text-decoration:none
2) className Optional parameter. Describes a CSS class for your link.

window

Body tag describes a 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;
2) className Optional parameter. Describes a CSS class for your window.

for downloading:

Library: popuptag.jar    Description: taglib.tld

© Coldbeans      Comments?

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

Also in Coldtags: