Package org.wicketstuff.lightbox2.references

Examples of org.wicketstuff.lightbox2.references.LightboxJavascriptResourceReference


    // Using Resoures
    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)));

    // Image Set
    add(new LightboxPanel("lightbox1", "images/image-1.jpg", "images/thumb-1.jpg", "plant"));
    add(new LightboxPanel("lightbox2", "images/image-2.jpg", "images/thumb-2.jpg", "plant"));
    add(new LightboxPanel("lightbox3", "images/image-3.jpg", "images/thumb-3.jpg", "plant"));
View Full Code Here


    ResourceReference thumbnail = new PackageResourceReference(HomePage.class,
      "resources/thumb-1.jpg");
    add(new LightboxLink("link", image).add(new Image("image", thumbnail)));

    // Image Set
    add(new LightboxPanel("lightbox1", "images/image-1.jpg", "images/thumb-1.jpg", "plant"));
    add(new LightboxPanel("lightbox2", "images/image-2.jpg", "images/thumb-2.jpg", "plant"));
    add(new LightboxPanel("lightbox3", "images/image-3.jpg", "images/thumb-3.jpg", "plant"));

  }
View Full Code Here

TOP

Related Classes of org.wicketstuff.lightbox2.references.LightboxJavascriptResourceReference

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.