Custom JSP taglib lets you provide HTML hyperlinks and appropriate QR code that popups when mouse is over. For example:
<%@ taglib uri="taglib.tld" prefix="q" %>
<q:qrcodepopup href="http://www.servletsuite.com" target="_blank">
Coldbeans site
</q:qrcodepopup>
and you will get some like this:
Coldbeans site
Tags are:
qrcodepopup
Body tag displays hyperlink and popups its QR code when mouse is over. Parameters are:
1) href 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) width Optional parameter. Describes a width for your QR code. Default value is 300.
8) height Optional parameter. Describes a height for your QR code. Default value is 300
9) border Optional parameter. Describes a border for the QR code image. Default value is 1px.
10) alt Optional parameter. Describes an alternate text for your QR code image. Default value is QR code.
11) top Optional parameter. Describes a top position for your QR code. Default value is 50px.
12) left Optional parameter. Describes a left position for your QR code. Default value is 200px
for downloading:
Library: qrcodepopuptag.jar
Description: taglib.tld
© Coldbeans
Comments?
See also Coldtags suite - the largest collection of custom JSP tags.
|