Lovely.IO

The Next Generation of Front-Side

Package Info

Links
Size
2.06 KB (gzipped)
Tags
UI, slideshow
Author
Nikolay Nemshilov
License
MIT
Versions
CDN Links
Dependencies

Slideshow

Slideshow is a little widget to make slideshows from lists

Basic Usage

In a simple case, you can just add the lui-slideshow class to your UL element

<ul class="lui-slideshow">
  <li><img src="img1.jpg"></img></li>
  <li><img src="img2.jpg"></img></li>
  <li><img src="img3.jpg"></img></li>
  ....
</ul>

You also can instantiate Slideshow object existing objects

new Slideshow($('#my-list')[0], {... options ...});

Options

You can use the following list of options

options can be used with the Slideshow class constructor or specified in JSON format inside of the data-slideshow attribute of your UL element

Public API

Besides the standard dom.Element API, there is a bunch of methods available as part of the public API with all the Slideshow class instances

Copyright And License

This project is released under the terms of the MIT license

Copyright (C) 2012 Nikolay Nemshilov