Drop shadow taglib ver. 1.2

    Custom JSP tag. This taglib lets you define a panel with shadow (so called drop shadow).

For example:
 


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

<d:DropShadow width="200px" height="50px" border="1px solid black" style="margin-left:4px">
This text will be placed on the drop shadow panel
</d:DropShadow>

and you will get this:

This text will be placed on the drop shadow panel

you can provide your own colors for the shadow and panel:
 


<d:DropShadow width="200px" height="50px" shadowColor="gray" panelColor="#5377A9" border="1px solid #5377A9" style="margin-left:4px">
This text will be placed on the drop shadow panel
</d:DropShadow>

and you will get this:

This text will be placed on the drop shadow panel

Tags are:

DropShadow

Body tag. Lets you define a panel with shadow. Tag's body describes your HTML/JSP code for the panel. Parameters are:

1) width Optional parameter. Describes a width for your panel
2) height Optional parameter. Describes a height for your panel
3) shadowColor Optional parameter. Describes a color for the shadow. Default value is black.
4) panelColor Optional parameter. Describes a color for the panel. Default value is white.
5) id Optional parameter. Describes a CSS/DHTML ID for the panel.
6) style Optional parameter. Describes a CSS style for the panel
7) className Optional parameter. Describes a CSS class for the panel
8) border Optional parameter. Describes a border for your panel. By default is empty.
9) cond Optional parameter. Describes a boolean value this processing depends on. Default value is true (drop shadow)

for downloading:

Library: dropshadowtag.jar    Description: taglib.tld  

© Coldbeans      Comments?

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

Also in Coldtags: