This repository has been archived by the owner. It is now read-only.
This jQuery plugin allows you to create a very simple slideshow.
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
css
img
js
README.markdown

README.markdown

jQuery Slideshow Plugin

This jQuery plugin allows you to create a very simple slideshow.

Demo

Dependances

Usage

  1. In header, include js and css files:

    <script type="text/javascript" src="js/jquery.slideshow.js"></script>
    <link rel="stylesheet" type="text/css" href="css/jquery.slideshow.css" />
    
  2. In body:

    <ul class="slideshow"> 
        <li> 
            <a href="#"><img src="img/example1.jpg" /></a> 
            <span class="description">Image 1</span> 
        </li> 
        <li> 
            <a href="#"><img src="img/example2.jpg" /></a> 
            <span class="description">Image 2</span> 
        </li> 
        <li> 
            <a href="#"><img src="img/example3.jpg" /></a> 
            <span class="description">Image 3</span> 
        </li> 
    </ul>
    
  3. Then, apply plugin:

    <script type="text/javascript">
        $(function() {
            $('.slideshow').slideshow();
        });
    </script>