Name |
LightBoxJS Plugin |
|---|---|
Publisher |
Derik Vercueil |
License |
Open Source (GPL v2) |
Version |
0.1 |
Experimental |
Yes |
Homepage |
|
Download |
http://code.google.com/p/struts2lightboxplugin/downloads/list |
{rate:title=Rating|theme=dynamic} |
LightBoxJS Plugin
makes it easier to use the popular LightBoxJS script |
Import the tag:
<%@ taglib prefix="lightbox" uri="/lightbox"%> |
Use the tag as follows:
<lightbox:thumbnail imageURL="images/myimage.png" imageCaption="Some image caption"/> |
For the above example, the thumbnail created will be in "images/thumbnails/myimage.png".
To group multiple images use the following:
<lightbox:thumbnail imageURL="images/myimage1.png" imageCaption="Some image caption 1" imageGroup="mygroup"/> <lightbox:thumbnail imageURL="images/myimage2.png" imageCaption="Some image caption 2" imageGroup="mygroup"/> |
|
The lightbox:head tag must be included in all the pages that will use the tags from this plugin. |