Skip to content

Pure Javascript lightbox with mobile support. It can handle images, videos with autoplay, inline content and iframes

Notifications You must be signed in to change notification settings

altapo/glightbox

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GLightbox

Glightbox is a pure javascript lightbox. It can display images, videos with optional autoplay for youtube, vimeo and even self hosted videos with JWPlayer support

Demo

You can check the live demo clicking here

Installation

To start using glightbox simply add the css and the script to your site.

<link rel="stylesheet" href="dist/css/glightbox.css">
<script src="dist/js/glightbox.min.js"></script>

For more information please check the demo site.

Browser Support

GLightbox was tested in the following browsers.

  • Safari
  • Mobile Safari
  • Opera
  • Edge
  • Firefox
  • Internet Explorer 11

It will work in any browser that supports css Flexbox

Todo

  • Improve github description with more documentation and examples

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

Pure Javascript lightbox with mobile support. It can handle images, videos with autoplay, inline content and iframes

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 62.4%
  • HTML 21.3%
  • CSS 16.3%