Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/creativeaura/threesixty-slider
jQuery 360 image slider plugin
https://github.com/creativeaura/threesixty-slider
Last synced: 10 days ago
JSON representation
jQuery 360 image slider plugin
- Host: GitHub
- URL: https://github.com/creativeaura/threesixty-slider
- Owner: creativeaura
- Created: 2012-12-18T15:15:29.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2018-11-18T07:34:10.000Z (almost 6 years ago)
- Last Synced: 2024-11-03T18:02:52.764Z (13 days ago)
- Language: JavaScript
- Homepage: http://creativeaura.github.io/threesixty-slider
- Size: 29.4 MB
- Stars: 854
- Watchers: 65
- Forks: 233
- Open Issues: 43
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
- awesome-jquery - threesixty-slider - jQuery 360 image slider plugin (Images / Data Table)
README
# Hello All, I am not maintaining this plugin anymore.
![Three Sixty Image slider plugin](https://raw.github.com/creativeaura/threesixty-slider/master/assets/360.png)
Three Sixty Image slider plugin v2.0.5
=================[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/creativeaura/threesixty-slider/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
[![Build Status](https://travis-ci.org/creativeaura/threesixty-slider.svg?branch=master)](https://travis-ci.org/creativeaura/threesixty-slider)
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/creativeaura/threesixty-slider?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)This is a jQuery plugin to create 360 degree product image slider. The plugin is full customizable with number of options provided. The plugin have the power to display images in any angle 360 degrees. This feature can be used successfully in many use cases e.g. on an e-commerce site to help customers look products in detail, from any angle they desire.
**Features**
- Smooth Animation
- Plenty of option parameters for customization
- Api interaction
- Simple mouse interaction
- Custom behavior tweaking
- Support for touch devices
- Easy to integrate
- No flash
- Plugin integrationPlugins
---------------------- [Drupal module](https://drupal.org/sandbox/coderider/2274229) by [Rashid Abdullah](https://drupal.org/u/coderider)
Installation
---------------------Git
git clone https://github.com/creativeaura/threesixty-slider.git
Or install using bower
bower install threesixty-slider
Example 1
---------------------
### Javascript ######
window.onload = init;var product;
function init(){product1 = $('.product1').ThreeSixty({
totalFrames: 72, // Total no. of image you have for 360 slider
endFrame: 72, // end frame for the auto spin animation
currentFrame: 1, // This the start frame for auto spin
imgList: '.threesixty_images', // selector for image list
progress: '.spinner', // selector to show the loading progress
imagePath:'assets/product1/', // path of the image assets
filePrefix: 'ipod-', // file prefix if any
ext: '.jpg', // extention for the assets
height: 265,
width: 400,
navigation: true,
disableSpin: true // Default false
});}
### HTML Snippet ######
0%
Here we are initializing an image slider for product 1. The ThreeSixty class constructor require a config object with properties like totalFrame, endFrame and currentFrameDocumentation
---------------------
##### MethodsPublic methods to control the slider after initialization.
Method NameDescription
.play()Function to trigger the auto rotation of the slider
.stop()Function to stop the auto play
.next()Function to move the slider to next frame
.previous()Function to move the slider to previous frame
.gotoAndPlay()Use this function if you want the slider spin to a particular frame with animation.
##### Config
Here are the list of config value you can pass in while you initilize your 360 slider.
ConfigDefault valueTypeDescription
totalFrames180NumberSet total number for frames used in the 360 rotation
currentFrame1NumberSet the starting from of the auto spin on initilize
endFrame180NumberSet the frame where you want the auto spin to stop
framerate60NumberFramerate for the spin animation
filePrefix''Stringfile prefiex for the assets if you assets name is nike_boot_1.png then filePrefix will be nike_boot_
extpngStringFile extension for all the assets
height300NumberHeight you want to set for the three sixty container
width300NumberWidth you want to set for the three sixty container
style{}ObjectObject container styles for the preloader similar to jQuery.css({})
navigationtrueBooleanSet false if you don't want default navigation controls
autoplayDirection1NumberControl the direction of the spin depending on your assets. You can use 1 or -1
dragtrueBooleanSet false if you want to disable mouse and touch events on the slider.
disableSpinfalseBooleanWill disable the initial spin on load
zeroPaddingfalseBooleantrue will add 0 padding for file names 1 - 9
responsivefalseBooleanEnable responsive width for 360
onReadyfunction() {}FunctionCallback triggers once all images are loaded and ready to render on the screen
playSpeed100NumberValue to control the speed (in milliseconds) of play button rotation
zeroBasedfalseBooleanZero based for image filenames starting at 0
Demo
---------------------
- [Example 1 Default Settings](http://360slider.com/default_control.html)
- [Example 2 Custom controls](http://360slider.com/custom_controls.html)
- [Responsive](http://360slider.com/responsive.html)
- [With Plugins](http://360slider.com/plugins.html)
- [Fullscreen](http://360slider.com/full_page_scrolling.html)Browsers Supported
---------------------
![Browsers Supported](https://raw.github.com/creativeaura/threesixty-slider/master/assets/browser_logos-64.png)This plugin is supported in all browsers including our beloved IE 6
Support
---------------------
For support and question please contact at [[email protected]](mailto:[email protected]) or follow at [@gauravjassal](http://twitter.com/gauravjassal)LICENSE
---------Copyright 2013 Gaurav Jassal
Released under the MIT and GPL Licenses.