暫無描述

tum 30f7226d9a first commit 2 年之前
..
.github 30f7226d9a first commit 2 年之前
dist 30f7226d9a first commit 2 年之前
examples 30f7226d9a first commit 2 年之前
src 30f7226d9a first commit 2 年之前
.editorconfig 30f7226d9a first commit 2 年之前
.jscsrc 30f7226d9a first commit 2 年之前
.jshintrc 30f7226d9a first commit 2 年之前
DEPLOY.md 30f7226d9a first commit 2 年之前
Gruntfile.js 30f7226d9a first commit 2 年之前
LICENSE 30f7226d9a first commit 2 年之前
README.md 30f7226d9a first commit 2 年之前
ROADMAP.md 30f7226d9a first commit 2 年之前
bower.json 30f7226d9a first commit 2 年之前
package.json 30f7226d9a first commit 2 年之前

README.md

Lightbox2

The original lightbox script.

Lightbox is small javascript library used to overlay images on top of the current page. It's a snap to setup and works on all modern browsers.

  • Demos and usage instructions. Visit the Lightbox homepage to see examples, info on getting started, script options, how to get help, and more.
  • Releases and Changelog. Viewable on the Github Releases page
  • Roadmap. View the Roadmap for a peek at what is being planned for future releases.
  • License. Lightbox is licensed under the MIT License. Learn more about the license.

by Lokesh Dhakar


Info for Maintainers

Local development

Some old tech, but it works, so no upgrading till something breaks.

  • Install Bower and Grunt: npm install -g bower grunt
  • Install jQuery dependency with Bower: bower install
  • Start local server: grunt
  • Navigate to localhost:8000/examples
  • Update examples/index.html to load jQuery and src/js/lightbox.js.