// Basic Usage:
// -------------------------------------------------- //
$(".selector").flicker();
// Options:
// ----------------------------------------------- //
$.fn.flicker.defaults = {
minOpacity: 0.7, // Opacity will not go below this value
maxOpacity: 1, // Opacity will not exceed this value
transition: 200, // The speed of the animation
delay: 75, // The time between changes
probability: 0.1 // The probability of a flickering event
};
// Methods:
// -------------------------------------------------- //
$(".selector").flicker(); // Start
$(".selector").flicker("stop"); // Stop
nhunzaker/jquery-flicker
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Adds a broken lightbulb style flickering effect to any DOM element.
http://nhunzaker.github.com/jquery-flicker
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published