Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hulufei/simpleslide
A very simple slide plugin for jQuery
https://github.com/hulufei/simpleslide
Last synced: 2 days ago
JSON representation
A very simple slide plugin for jQuery
- Host: GitHub
- URL: https://github.com/hulufei/simpleslide
- Owner: hulufei
- Created: 2011-05-22T12:49:21.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-05-22T13:56:53.000Z (over 13 years ago)
- Last Synced: 2023-03-24T12:10:26.687Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 93.8 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
A really simple slide scroll plugin for jQuery, no special slide effects, just slide from right to left.
The options:
step: How many items scrolled each time, default 1
duration: Default 800(ms)
backElem: click to previous slide, {jQuery Selector/DOM Object/jQuery Object}
nextElem: click to next slide, {jQuery Selector/DOM Object/jQuery Object}
nextCallBack: called after sliding to next
prevCallBack: called after sliding to previous
The HTML should be matched the structure as bellow:
First slide contents
Second slide contentsSetting CSS properly: all the slides display as inline-block and the
width of wrapper should greater than sum of all slidesUsage:
$('#slideWrapper').slideshow(options);