Client side rotator taglib ver. 1.3


    Custom JSP taglib lets you implement client side rotated text. E.g. Javascript news ticker, news scroller etc. For example:
 


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

<t:textRotator delay="5">
 <t:item> <a href="/servlets.htm" target="_blank">Check out JSOS</a> </t:item>
 <t:item> <a href="/jsp.htm" target="_blank">Check out Coldtags suite</a> </t:item>
</t:textRotator>

and you will get some like this:

Check out JSOS

Tags are:

textRotator

Body tag implements client side text rotator. Parameters are:

1) id Optional parameter. Describes an unique id for this rotator. You must use this parameter if you have more than one textRotator tag within the same page. Default value for this parameter is rotator.
2) delay Optional parameter. Describes a delay for rotated items (in seconds). Default value is 30.

item

Body tag describes a text item. Parameters are:

1) cond Optional parameter. Describes a boolean value tag's behavior depends on. Default value is true (add item)

for downloading:

Library: crotate.jar    Description: taglib.tld

© Coldbeans      Comments?

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

Also in Coldtags: