GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Lightbox2 Plugin Integration Lightbox2 Plugin Integration
Martijn Dashorst edited this page
(from http://www.jqplot.com/) Lightbox is a simple, unobtrusive script used to overlay images on top of the current page. It's a snap to setup and works on all modern browsers add(new LightboxPanel("lightbox", "images/image-1.jpg", "images/thumb-1.jpg")) <wicket:container wicket:id="lightbox"></wicket:container> With Resource Reference: ResourceReference image = new PackageResourceReference(HomePage.class, "resources/image-1.jpg"); ResourceReference thumbnail = new PackageResourceReference(HomePage.class, "resources/thumb-1.jpg"); add(new LightboxLink("link", image).add(new Image("image", thumbnail))); <a wicket:id="link" href="images/image-1.jpg" rel="lightbox" title="Lightbox with ResourceReference"> <img wicket:id="image" alt="ResourceReference" /> </a> Clone this wiki locally |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |