CSS button taglib ver. 1.3

    Custom JSP taglib. This taglib lets you display buttons with some special (toggle-like) look and feel. For example:
 


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

<css:button link="http://www.servletsuite.com/jsp.htm" taget="_blank">Coldtags</css:button>

and you will get some like this:

Only one parameter (link) is mandatory. You can set here some URL or even the JavaScript call: javascript:document.form_name.submit().

Optional parameters let you specify color for titles, font etc.

Tags are:

button

Body tag. Simulates a button with some special (toggle-like) look and feel. Tag's describes a value (caption) for your button. Parameters are:

1) link Describes a link
2) target Optional parameter. Describes a target frame.
3) title Optional parameter. Describes a tooltip
4) width Optional parameter. Describes a width for button. Default value is 80px
5) color Optional parameter. Describes a color for text. Default value is black.
6) fontFace Optional parameter. Describes a face for font. Default value is Arial.
7) fontSize Optional parameter. Describes a size for font. Default value is 20px.

for downloading:

Library: csstag.jar    Description: taglib.tld

© Coldbeans      Comments?

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

Also in Coldtags: