No description, website, or topics provided.
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
Gruntfile.js
LICENSE
README.md
bower.json
package.json
zerobox.jquery.json
zerobox.js

README.md

zerobox

Demo | Issues

Lightweight, animated lightbox plugin for Jquery JavaScript library.

Installing

Using Bower:

$ bower install zerobox

Usage

Getting Zerobox up and running is easy. The plugin only requires that you include its source on your pages and give its method a link it will use to invoke the lightbox. A basic ligthbox image link could look something like the following:

<a class="zerobox" href="image.jpg">
    <img src="image-thumb.jpg" />
</a>

After which you can target the .zerobox class with the plugin:

$('a.zerobox').zerobox();

Any image linked by a.zerobox gets displayed in a lightbox when the link is clicked.

Building

Zerobox uses Grunt to run tasks. To get started, first make sure you have npm and Grunt installed. Once you have the base requirements, navigate to the the directory you have checked out or downloaded Zerobox and run npm to install the project's dependencies:

$ npm install

After which you can run Grunt tasks to do testing, releasing and building:

$ grunt [task]

Where [task] is the task you want to run. Available tasks are jsdoc, test, build and release:[major|minor|patch|build].

License

Zerobox is licensed under the MIT license. See the full MIT license file.

Bitdeli Badge