Image popup taglib ver. 1.2

    Custom JSP taglib lets you provide HTML hyperlinks or simple texts that popups some image when mouse is over. For example:
 


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

<a:imagepopup href="http://www.servletsuite.com" target="_blank" src="developer.jpg">
  Coldbeans site
</a:imagepopup>

and you will get some like this:

Coldbeans site

A hint: your link could be another image (a thumbnail for example). When you hover your mouse over the thumbnail the larger image will appears. Just move your mouse off the thumbnail image and the enlarged image will be hided.

Tags are:

imagepopup

Body tag displays text (or hyperlink) that popups the given image when mouse is over. Parameters are:

1) href Optional parameter. Describes an URL.
2) id Optional parameter. Describes a CSS (DHTML) id.
3) title Optional parameter. Describes a title for hyperlink.
4) className Optional parameter. Describes a CSS class for this control.
5) style Optional parameter. Describes a CSS style for this control.
6) target Optional parameter. Describes a target frame for the hyperlink.
7) src Describes a source for your image.
8) width Optional parameter. Describes a width for your image
9) height Optional parameter. Describes a height for your image
10) border Optional parameter. Describes a border for your image
11) alt Optional parameter. Describes an alternate text for your image
12) top Optional parameter. Describes a top position for your image. Default value is 50px.
13) left Optional parameter. Describes a left position for the image. Default value is 200px
14) onClick Optional parameter. Describes a name for your JavaScript function that will be called in case of mouse click.
 

for downloading:

 Library: imagepopuptag.jar     Description: taglib.tld  

 © Coldbeans      Comments?

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

Also in Coldtags: