Tag mimics img tag from HTML. For URI provided in src
parameter tag checks the presence for the similar file with the suffix _on. If such a file exists
tag will generate JavaScript code for image rollover when mouse is in/out. Otherwise tag outputs
just a standard HTML img tag. For example:
<%@ taglib uri="taglib.tld" prefix="img" %> <img:RollOver scr="pic.gif"/> Here if file pic_on.gif exists tag will generate a code for image rollover. Tags are: RollOver Tag generates HTML img tag with the possible image rollover. Parameters are: 1) src Describes an URI for your image
for downloading: Library: rollovertag.jar Description: taglib.tld See also Coldtags suite - the largest collection of custom JSP tags.
|
Also in Coldtags:
|