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: 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.
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 See also Coldtags suite - the largest collection of custom JSP tags.
|
Also in Coldtags:
|