JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 25886
  • Score
    100M100P100Q136365F

The original Lightbox script. Uses jQuery.

Package Exports

  • lightbox2
  • lightbox2/dist/css/lightbox.css
  • lightbox2/dist/js/lightbox
  • lightbox2/dist/js/lightbox.js
  • lightbox2/src/js/lightbox
  • lightbox2/src/js/lightbox.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (lightbox2) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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.