Description Usage Arguments Details Examples
Add an eater egg to your document
1 2 |
stroke |
keys that will trigger the egg. |
egg |
message that will appear. |
imegg |
image that appears. |
fade |
in milliseconds. |
timeout |
timeout animation in milliseconds. |
elementId |
use to override element id. |
You don't need to know the special Javascript key codes, as you can use
plain English to define your egg (but you can use key codes if you want to). i.e.:
up
= up arrow on keyboard.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.