Posts Tagged ‘pop culture’

jQuery Contra Plugin – Up, up, down, down, left, right, left, right, B, A, enter

jQuery Contra Plugin – Up, up, down, down, left, right, left, right, B, A, enter

Remember the code from Contra on original Nintendo? Up, up, down, down, left, right, left, right, B, A, start; it’s also known as the Konami Code and the 30 Lives Code.

This famous sequence of buttons from the 80′s isn’t going anywhere: in more recent times it’s been in a Moldy Peaches song, and used as an easter egg in Google Reader and Facebook, to name a few.

But I’m sure tons of great things can still be done with the code from Contra, so I built it into a simple jQuery plugin that can be easily used on any site.

The jQuery Contra Plugin allows you to call a function of your choice whenever a user enters the Konami Code (up, up, down, down, left, right, left, right, b, a, enter).

Download the Contra Plugin

Read the jQuery Contra docs

How to use … Read more…



Warning: file(./cache/single/rsscache_51044f323fa257009e2700328017cc03) [function.file]: failed to open stream: No such file or directory in /nfs/c08/h04/mnt/123746/domains/jonraasch.com/html/inc/lastRSS.php on line 86

Warning: join() [function.join]: Invalid arguments passed in /nfs/c08/h04/mnt/123746/domains/jonraasch.com/html/inc/lastRSS.php on line 86