https://github.com/steve228uk/candy-gallery
A light-weight jQuery gallery plugin
https://github.com/steve228uk/candy-gallery
Last synced: about 2 months ago
JSON representation
A light-weight jQuery gallery plugin
- Host: GitHub
- URL: https://github.com/steve228uk/candy-gallery
- Owner: steve228uk
- Created: 2011-11-14T16:04:05.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-06-22T14:54:13.000Z (almost 12 years ago)
- Last Synced: 2025-01-16T01:14:51.187Z (3 months ago)
- Language: JavaScript
- Size: 677 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Candy Gallery
Candy gallery is extremely simple to use, include jquery.candygallery.1.5.1.min.js and jquery.candygallery.css in your
## The Include
## The Call
$(document).ready(function() {
$('#myId').candygallery();
});
If you want to customise the default options…
$(document).ready(function() {
$('#myId').candygallery({
maxwidth: 640, // max image width in pixels
thumbwidth: 60, // thumbnail width and height
thumbopacity: 0.7, // opacity of thumbnail
thumbposition: 'after', // Where to append the thumbnails
title: 'true', // whether to show title or not
changeon: 'click', // whether to change image on click or hover
fade: 'true', // whether there is a fade transition or not
fadespeed: '500', // transition speed in ms
nav: 'true', // Whether to include the pagination or not
nexttext: '→', // Next image text
prevtext: '←', // Previous Image link text
auto: 'true', // Whether to auto increment
timeout: 1500 // Time between auto
});
});
## Markup
![]()
![]()
![]()
![]()
You can style it however you like, rearrange the thumbnails etc.
Have fun!