Skip to content

Simple plugin to fade, in sequence, the list items of the selected (un)ordered list

License

Notifications You must be signed in to change notification settings

richard-parnaby-king/jQuery-Fader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

jQuery-Fader

Simple plugin to fade, in sequence, the list items of the selected (un)ordered list

Installation

Include script after the jQuery library (unless you are packaging scripts somehow else):

<script src="/path/to/jquery.fader.js"></script>

Do not include the script directly from GitHub (http://raw.github.com/...). The file is being served as text/plain and as such being blocked in Internet Explorer on Windows 7 for instance (because of the wrong MIME type). Bottom line: GitHub is not a CDN.

Usage

$('ul').fader();

Options

This plugin comes with two options; Speed and Delay

Speed

Controls how fast the fade animation takes in milliseconds

$('ul').fader({speed:1000});

Delay

Controls when to start fadeing the next list item

$('ul').fader({delay:1000});

Example

http://richard.parnaby-king.co.uk/examples/jquery-fader/

About

Simple plugin to fade, in sequence, the list items of the selected (un)ordered list

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published