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:
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
2) width Optional parameter. Describes a width for your image
3) height Optional parameter. Describes a height for your image
4) border Optional parameter. Describes a border for your image
5) alt Optional parameter. Describes an alternating text
6) id Optional parameter. Describes an id for this element
7) style Optional parameter. Describes a CSS style
8) className Optional parameter. Describes a CSS class
for downloading:
Library: rollovertag.jar Description: taglib.tld
See also Coldtags suite - the largest collection of custom JSP tags.