Skip to content

edmundgentle/light

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

light

A super lightweight lightbox plugin for images in jQuery.

Usage

$('a[rel=light]').light();

The available options are:

$('a[rel=light]').light({
    unbind:true, //whether to unbind other click events from elements
    prevText:'Previous, //the text on the "Previous" button
    nextText:'Next', //the text on the "Next" button
    loadText:'Loading...', //the text to display when loading
    keyboard:true //whether to use the keyboard inputs for next, previous and close
});

Examples

You can find all the examples live here

About

A super lightweight lightbox plugin for images in jQuery.

Resources

License

Stars

Watchers

Forks

Packages

No packages published