https://github.com/kcsoft/ultralb
Pure JavaScript image gallery
https://github.com/kcsoft/ultralb
Last synced: 8 months ago
JSON representation
Pure JavaScript image gallery
- Host: GitHub
- URL: https://github.com/kcsoft/ultralb
- Owner: kcsoft
- License: mit
- Created: 2014-10-26T20:10:05.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-11-26T19:44:38.000Z (over 11 years ago)
- Last Synced: 2025-01-29T16:08:53.517Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 992 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Ultra Light Box
===============
# What is it
Ultra Light Box is a lightweight pure JavaScript image gallery inspired by [Lightbox](http://lokeshdhakar.com/projects/lightbox2/).
It has no dependencies.
## Supported browsers
* IE8+
* Any modern browser like Chrome, Firefox, Safari, Opera
## Usage
* Include the `ultralb.js` file in your html.
```html
```
* Add images to a container with the class `.ultralb`
```html
```
Multiple containers with the class `.ultralb` can be added, each represent a gallery group.
The `alt` attribute of the image will serve as a title in the gallery.
## [Demo](http://kcsoft.github.io/ultralb/)