Effects taglib ver. 1.1

    JSP custom taglib lets you define a block with the standard visual effects. For example:
 


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

<style>
.bl
{
width:125px;
height:125px;
background-color:lightgreen;
border:1px solid black;
cursor:default;
position:absolute;
}
</style>

<o:ShrinkArea className="bl" style="left:390px;top:300px">
<p> click here<br/> for shrink
</o:ShrinkArea>

<p>

<o:SlideArea className="bl" style="left:390px;top:430px" direction="left">
<p> click here<br/> for slide
</o:SlideArea>

(try to click in the green block):

 click here
 for shrink

 click here
 for slide

Tags are:

ShrinkArea

Body tag defines a block with shrink effect. Attributes are:

1) id Optional attribute. Describes a DHTML id for your code.
2) className Optional attribute. Defines a CSS class for your area.
3) style Optional attribute. Defines a CSS style for your block

SlideArea

Body tag defines a block with slide effect. Attributes are:

1) id Optional attribute. Describes a DHTML id for your code.
2) className Optional attribute. Defines a CSS class for your area.
3) style Optional attribute. Defines a CSS style for your block
4) direction Optional attribute. Defines a direction for your slide. Possible values are top, bottom, left, right. Default value is top.

for downloading:

Library: effectstag.jar    Description: taglib.tld

© Coldbeans      Comments?

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