DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
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 |
| Wiki Markup |
|---|
{rate:title=Rating|theme=dynamic} |
Overview
LightBoxJS Plugin
| Excerpt |
|---|
makes it easier to use the popular LightBoxJS script |
Usage:
Import the tag:
| Code Block | ||||
|---|---|---|---|---|
| ||||
<%@ taglib prefix="lightbox" uri="/lightbox"%> |
Use the tag as follows:
| Code Block | ||||
|---|---|---|---|---|
| ||||
<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:
| Code Block | ||||
|---|---|---|---|---|
| ||||
<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"/> |
| Warning |
|---|
The lightbox:head tag must be included in all the pages that will use the tags from this plugin. |