jPixter is a jQuery plugin that transforms an unordered list with nested divs for captions into a slideshow. It includes autoscrolling, pause/resume control, and next and previous navigation. The markup is simple and easy to style with a number of customization options out of the box.
jPixter is released under the MIT license. Do what you want with it.
Better instructions coming soon. But here's enough to get you started.
You can instantiate the plugin using .jPixter({}). Options include:
- speed (float: duration of transition in milliseconds)
- interval (float: duration of stay on each slide)
- caption (boolean: turn captions on/off)
- captionOpacity (float)
- captionPositionY (string: 'top or bottom' puts caption at top and controls at bottom)
- captionPositionX (string: 'left or right' puts caption to left or right)
- captionFullWidth (boolean: stretch caption to left and right edges)
- deck (string: the name of the parent element)
- photoDeck (string: the name of the unordered list containing the photos/captions)
- controls (string: the name of the div containing the controls)
Copyright (c) 2011 Nickolas Kenyeres
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.