Lightbox

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

  • Display images, HTML, Iframes, Ajax requests, YouTube, Vimeo and SWF movies
  • Group lightboxes and mix different content types
  • 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 1.5, 1.6, WordPress and Stand-alone

Examples

Different animations – fade, elastic and none

Different title positions – float, inside and over

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.

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:700;" href="https://www.google.com">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
  • width – Set a width in pixel
  • height – Set a height in pixel
  • padding – Set a padding in pixel

Back to top