An open API service indexing awesome lists of open source software.

https://github.com/wbotelhos/eggy

An Easter Egg Plugin
https://github.com/wbotelhos/eggy

easter-egg

Last synced: over 1 year ago
JSON representation

An Easter Egg Plugin

Awesome Lists containing this project

README

          

/**
* jQuery Eggy - A Easter Eggy Plugin - http://wbotelhos.com/eggy
* ---------------------------------------------------------------------------------
*
* jQuery Eggy is a plugin that generates a customizable Easter Egg fired from a character set.
*
* Licensed under The MIT License
*
* @version 0.1.0
* @since 12.04.2010
* @author Washington Botelho dos Santos
* @link http://wbotelhos.com/eggy
* @twitter http://twitter.com/wbotelhos
* @license http://www.opensource.org/licenses/mit-license.php MIT
* @package jQuery Plugins
*
* Default values:
* ---------------------------------------------------------------------------------
* code: [] // Character set that fired the animation.
* height: 180 // Height of the element that will be triggered.
* image: 'img/eggy.png' // Background image of the element.
* pause: 480 // Time that the element is visible on the screen.
* side: 'right' // Side of the screen in which the element will be presented.
* sound: 'sound/eggy.wav' // Sound to be played when the element appears.
* speed: 200 // Speed of appearance of the element.
* width: 180 // Width of the element that will be triggered.
*
* Usage with default values:
* ---------------------------------------------------------------------------------
*
* $('#easter').eggy({
* code: ['y', 'e', 'a', 'h', '!']
* });
*
*


*
*/