Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ethercreative/ether-gallery

A gallery plugin for jQuery
https://github.com/ethercreative/ether-gallery

Last synced: about 2 months ago
JSON representation

A gallery plugin for jQuery

Awesome Lists containing this project

README

        

# Ether Gallery
A gallery plugin for jQuery

[**Demo**](http://ethercreative.github.io/ether-gallery/)

### Example HTML Markup
```html


```

### JavaScript Setup
```js
$('.gallery').etherGallery({
keys: true, // Enables keyboard controls (left/right arrows, escape)
swipe: true // Enables swipe controls on touch devices
});
```

### Classes
- `.egal-overlay` An overlay div
- `.egal-ul` The list
- `.egal-active` The active list item
- `.egal-prev` The previous list item
- `.egal-next` The next list item

### Lazy Loading
The images are loaded in as their list item becomes the `.egal-next`. This means we only load in images as we need them.

### Todo
- Add option to toggle lazy loading on images.