Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kennethanceyer/pg-gallery
:art: PIGNOSE Gallery is so simple and fast gallery style component.
https://github.com/kennethanceyer/pg-gallery
frontend gallery html jquery
Last synced: 23 days ago
JSON representation
:art: PIGNOSE Gallery is so simple and fast gallery style component.
- Host: GitHub
- URL: https://github.com/kennethanceyer/pg-gallery
- Owner: KennethanCeyer
- License: mit
- Created: 2014-12-26T03:40:55.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2018-03-14T12:39:31.000Z (over 6 years ago)
- Last Synced: 2024-04-14T15:33:18.644Z (7 months ago)
- Topics: frontend, gallery, html, jquery
- Language: JavaScript
- Homepage: http://www.pigno.se/barn/PIGNOSE-Gallery/
- Size: 1.71 MB
- Stars: 12
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
PIGNOSE-Gallery
===============> PIGNOSE Gallery is so simple and fast gallery style component.
[![npm version](https://badge.fury.io/js/pg-gallery.svg)](https://badge.fury.io/js/pg-gallery) [![Bower version](https://badge.fury.io/bo/pg-gallery.svg)](https://badge.fury.io/bo/pg-gallery) [![Join the chat at https://gitter.im/KennethanCeyer/PIGNOSE](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/KennethanCeyer/PIGNOSE?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
![Screenshot Main](http://www.pigno.se/barn/PIGNOSE-Gallery/demo/img/screenshot_main.png)
Check demo page and enjoy it! [See Demo](http://www.pigno.se/barn/PIGNOSE-Gallery)
----
### Description
- This plugin supports IE8+, Firefox, Chrome, Safari, Opera browser version.
- This plugin needs `jQuery library 1.11.x` higher version.----
### Usage
1. Download or Clone the sources.
2. Import jQuery library from [here](http://jquery.com/download/)
3. Insert snippets like below.```javascript
$(function() {
$('.gallery').pignoseGallery({
thumbnails: '.gallery-thumbnails'
});
});
```
4. Markup structure must be like below.```html
```#### If you use Bower
```shell
bower install pg-gallery
```#### If you use npm
```shell
npm install pg-gallery
```
Move `dist/pignose.gallery.min.js`, `dist/pignose.gallery.min.css` to your project folder.----
### Options
| name | value | default | description |
|------|-----------------|---------|-------------|
| focus | `number` | 0 | You can set first showing image by give index (number type / start from 0). |
| thumbnails | `selector string` | null | Gallery's thumbnails wrapper selctor string. |
| time | `number` | 3000 | Millisecond time of the delay the auto change animation. |
| auto | `boolean` | true | If you turn on this option, You can control to pause/play of the gallery by mouseover, and mouseout event. |
| hover | `boolean` | true | If you set this option to true, You can switch images by hover on each of thumbnails. |----
### Question
If you found something problem of this plugin, or you have some question.
Please send me a message to use either [gitter](https://gitter.im/KennethanCeyer/PIGNOSE) or [Github issue](https://github.com/KennethanCeyer/PIGNOSE-Gallery/issues). (gitter url is on the top of the manual)