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

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

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


Title 1
Title 2
Title 3
Title 4

You can style it however you like, rearrange the thumbnails etc.

Have fun!