to dirjavascript: Lightbox2 - NOTES                               rev 26 sep 2022

Category: gallery
webwalker: useful

» description | sources | install | settings | more info | alternatives

.......................................................
description: 

  Makes a modal gallery of one or many images on a web page.

.......................................................
sources: 

  Plugin site: 
    https://lokeshdhakar.com/projects/lightbox2/

  Code: 
    https://github.com/lokesh/lightbox2
    Click on green "Code" button on upper right of file listing,
      and choose 'Download zip'
      Or use any of the other methods given if you like.

  Support:
    Stackoverflow: https://stackoverflow.com/questions/tagged/lightbox2

  Author: Lokesh Dhakar
    http://www.lokeshdhakar.com/
    https://twitter.com/lokesh

  License: MIT License

_______________________________________________________ 
➽  Install/config/uninstall:

......................... 
requires: 

  jQuery, but if you're not using it, he has provided
  a file that includes the jQuery it needs:
    dist/js/lightbox-plus-jquery.js 
    instead of lightbox.js.


......................... 
install: 

  Unzip the zip to where you keep javascripts for the website.

  See the home page https://lokeshdhakar.com/projects/lightbox2/
    for examples, and the code to put in your html.


......................... 
settings: 

  To change any of the default options, do like:
     <script>
        lightbox.option({
          'resizeDuration': 200,
          'wrapAround': true
        })
     </script>

  List of options and values on lightbox page, or 
    https://lokeshdhakar.com/projects/lightbox2/ 


_______________________________________________________ 
➽ Notes:

.......................................................
➽  other javascripts of same type: 

  TBD
  
  ......................... 
  Why this one: it works.

_______________________________________________________
begin 26 sep 2022
-- 0 --