Konami Code – Cheat Code – Easter Egg
Have you ever thought about adding a Easter Egg to your website?
Using a Cheat Code such as the Konami Code you can now easily add one to your website using jQuery and the plugin that Trevor Morris developed. Get the plugin here.
The code is simple and easy to follow. Here’s a snippet to demonstrate how simple it is to perform a basic javascript action.
$(document).ready(function() { $(document).cheatCode({ code : '38,38,40,40,37,39,37,39,66,65', activated : function(){ alert('Hidden'); } }); });
Don’t forget you’ll need to grab a copy of jQuery if you don’t already have it loaded up!
Please let us know if you like our Easter Egg.

May 15th, 2009 at 10:34 am
bah ha ha ha that’s awesome