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
- Host: GitHub
- URL: https://github.com/wbotelhos/eggy
- Owner: wbotelhos
- License: mit
- Created: 2017-07-28T16:37:50.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-28T16:44:57.000Z (almost 9 years ago)
- Last Synced: 2025-01-28T03:18:53.816Z (over 1 year ago)
- Topics: easter-egg
- Language: HTML
- Size: 54.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.txt
- Changelog: changelog.txt
- License: LICENSE.txt
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', '!']
* });
*
*
*
*/