$(var).lightbox();
- Light
- Responsive
- Display with cookies
- jQuery 1.9/2.0 ready (min jQuery 1.8)
- jQuery UI 1.9+
Browsers : IE7+, Firefox 5+, Chrome 20+, Safari 3+, Opera 10+
### jQuery 1.9 vs 2.0:Lightbox.js is compatible with version 2.0 of jQuery (beta 1 for now). This version no longer supports version of Internet Explorer 7 and 8.
If you want to use version 2.0 of jQuery using the following html code:
<script src="jquery-2.0.0.js"></script>
The use of the variable "openFirst" active display popup unique throughout the duration of the session configured by the cookie created with the option "openFirst" enabled.
The plugin "jquery-cookie.js" is required to create the cookie. Integrated package. (https://github.com/carhartl/jquery-cookie)
openFirst: boolean
Default: false
cookieName: varchar
Default: lightbox
cookieTime: numeric (days)
Default: 7
openSpeed: numeric
Default: 500
openEffect: effect
Default: fade
openEasing: effect
Default: linear
closeSpeed: numeric
Default: 500
closeEffect: effect
Default: fade
closeEasing: effect
Default: linear
aroundEffect: boolean
Default: true
aroundClose: boolean
Default: false
globalClass: varchar
Default: lightbox
relAttr: varchar
Default: lightbox
The realignment is integrated in the plugin.