MTKonamicode 0.9.3

MTKonamicode gives you a small little 'Feature' for your Website. There are some sites having Konamicodes in it (check http://www.konamicodesites.com) and here is the MooTools way to integrate it in your website / webapp

Check http://en.wikipedia.org/wiki/Konami_Code for more info



Details

Author
Christopher Beloch
Current version
0.9.3
GitHub
CBeloch/MTKonamicode
Downloads
6781
Category
Widgets
Tags
Report
GitHub Issues

Releases


Dependencies

  • core/1.2.4:
    • Class.Extras
    • Element.Event
  • more/1.2.4: Keyboard

How to use

Include the mtkonamicode.js in your project.

Use Code like this:

var konamievent = new MTKonamicode({
    onWin: function(){
        alert("You successfully entered the konamicode! Go and get a cookie!");
    }
});

Other example with custom keys

new MTKonamicode({
    keys: ['up','down'],
    onWin: function(){
        alert('Do it!');
    }
});

Discuss

A note on comments here: These comments are moderated. No comments will show up until they are approved. Comments that are not productive (i.e. inflammatory, rude, etc) will not be approved.

Found a bug in this plugin? Please report it this repository's Github Issues.

blog comments powered by Disqus