- Подробности
-
Категория: Features
-
Опубликовано: 22.01.2013 11:24
-
Автор: Super User
-
Просмотров: 952
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/sampledata/lightbox/lightbox_01_big.jpg"><img src="/images/sampledata/lightbox/lightbox_01.jpg" border="0" alt="fade" /></a>
Different title positions - float
, inside
and over


<a data-lightbox="transitionIn:elastic; transitionOut:elastic; titlePosition:float;" href="/images/sampledata/lightbox/lightbox_01_big.jpg" title="Donec augue felis, aliquet sit amet tempor vel, sollicitudin nec sem."><img class="pic3d" src="/images/sampledata/lightbox/lightbox_01.jpg" border="0" alt="fade" width="190" height="119" /></a>
You can use it in a gallery

<a data-lightbox="transitionIn:elastic; transitionOut:elastic; titlePosition:float; group:gallery1" href="/images/sampledata/lightbox/lightbox_01_big.jpg" title="Donec augue felis, aliquet sit amet tempor vel, sollicitudin nec sem."><img class="pic3d" src="/images/sampledata/lightbox/lightbox_01.jpg" border="0" alt="fade" width="190" height="119" /></a>
Various examples in one gallery (try also using the keyboard and mouse scroll wheel)
Donec sit amet posuere odio. In vel ipsum id augue hendrerit porta sed a magna. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum facilisis hendrerit urna vel hendrerit. Duis in urna nulla, ac volutpat tortor. Vivamus eget sem nunc. Suspendisse potenti. Donec rhoncus erat at risus blandit sed pharetra nulla scelerisque. Nulla quis nisi odio. Quisque nec orci erat, ac tempus justo. Curabitur facilisis tincidunt molestie. Cras eros ligula, facilisis sit amet vulputate eget, ullamcorper eget lorem. Donec faucibus pulvinar metus, ut facilisis lectus luctus eu. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Pellentesque interdum placerat pretium.
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:600;height:375;" href="#wk-1">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="http://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
- Подробности
-
Категория: Features
-
Опубликовано: 22.01.2013 11:23
-
Автор: Super User
-
Просмотров: 216
There are 18 stylistic module class suffixes, these add a unique style variation to the module: box1-6 and title1-12; and 18 structural suffixes, these affect the layout and metrics of the module.
Enter any available suffixes at Extensions → Module Manager → Module → Module Class Suffix.
You can compound multiple suffixes together such as: box1 title3.
18 structural suffixes, these affect the layout and metrics of the module.
rounded
, square
, basic
, standardcase
, lowercase
, uppercase
, flush
, flushtop
, flushbottom
, shadow2
, shadow3
, shadow4
, shadow5
, shadow6
, shadow7
, shadow8
, shadow9
, shadow10