Русский

The Widgetkit Lightbox allows you to view images, HTML and multi-media content on a dark dimmed overlay without having to leave the current page.

Features at a glance

  • Display images, videos, HTML, Iframes, Ajax requests and SWF
  • Supports YouTube, Vimeo, MP4 (h.264), WebM and FLV movies
  • Group lightboxes and mix different content types
  • Responsive design to fit images great on mobile devices
  • Load other widgets in lightbox
  • 3 different opening and closing transitions
  • 4 different caption styles
  • Keyboard and mouse scroll wheel navigation
  • Build on the latest jQuery version
  • Works with Joomla and WordPress

Examples

Different animations - fade, elastic and none

<a data-lightbox="transitionIn:fade; transitionOut:fade;" href="/images/demo/gallery/column_4/1_big.jpg"><img class="pic3d" src="/images/demo/gallery/column_4/1.jpg" border="0" alt="fade" width="250" height="165" /></a>

Different title positions- float, inside and over

<a data-lightbox="transitionIn:elastic; transitionOut:elastic; titlePosition:float;" href="/images/demo/gallery/column_4/5_big.jpg" title="Lorem Ipsum is simply dummy text of the printing and typesetting industry"><img class="pic3d" src="/images/demo/gallery/column_4/5.jpg" border="0" alt="fade" width="250" height="165" /></a>

You can use it in a gallery

<a data-lightbox="transitionIn:elastic; transitionOut:elastic; titlePosition:float; group:gallery1" href="/images/demo/gallery/column_4/8_big.jpg" title="Lorem Ipsum is simply dummy text of the printing and typesetting industry"><img class="pic3d" src="/images/demo/gallery/column_4/8.jpg" border="0" alt="fade" width="250" height="165" /></a>

Various examples in one gallery (try also using the keyboard and mouse scroll wheel)

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Load Widgets In A Lightbox

Use #wk-ID to load widgets like slideshows or galleries in a lightbox. For example: Widgetkit Slideshow

<a data-lightbox="width:945;height:637;" href="#wk-2">Lightbox</a>

How To Use

Use the HTML5 custom data attribute data-lightbox to activate the lightbox. You can set various lightbox parameters to the data attribute. For example:

<a data-lightbox="width:1000;height:600;" href="https://www.wikipedia.org">Lightbox</a>

Here is a list of the most common parameters:

  • titlePosition - How should the title show up? (float, outside, inside or over)
  • transitionIn - Set a opening transition. (fade, elastic, or none)
  • transitionOut - Set a closing transition (fade, elastic, or none)
  • overlayShow - Set to true or false
  • scrolling - Set to yes or no
  • width - Set a width in pixel
  • height - Set a height in pixel
  • padding - Set a padding in pixel

Reveal Lightbox

The reveal lightbox allows you to view modules in a pop overlay that slides from the top. There are three positions that you could place your module that will popup in the reveal lightbox:

  • reveal-a - Uses the stacked module layout. This can be used to show one or more modules, one on top of the other, on the reveal popup.
  • reveal-b - Uses the equal module layout. This can be used to show one or more modules, side by side, on the reveal popup.
  • reveal-c - Uses the double module layout. This can be used to show one or more modules, one bigger than the rest, on the reveal popup.

You can set different sizes of the reveal lightbox by adding one of the following module suffix: small, medium, large or xlarge

To show the reveal on a page, add the module you want to show in the popup in one of the above module positions and on your button or link use the data-reveal-id attribute as follows:

<a class="button-color button-action" href="#" data-reveal-id="reveal-a">Sign Up</a>

Examples

Popup 1 Popup 2 Popup 3