A repository of over 1000 quality jQuery plugins

jQuery jQuery Konami

jQuery Konami is a jQuery Navigation plugin.

Created by shevabam

jQuery plugin to trigger an event after the success of the Konami Code (up up down down left right left right b a).

Not what you're looking for? Click here to view more Navigation jQuery plugins

jquery.konami.js

jQuery plugin to trigger an event after the success of the Konami Code (up up down down left right left right b a).

Installation

Include script after the jQuery library:

<script src="/path/to/jquery.konami.js?x56871"></script>

How to use it

Just add this:

<script>
    $(function(){
        $(window).konami({
            run: function(){
                alert('Good job !');
            }
        });
    });
</script>

Options

OptionTypeDefaultDescription
runFunctionnullFunction that triggers the success of the code


You might also like these other Navigation jQuery Plugins

  • Navigation

    A jQuery plugin for simple responsive navigation.

  • Headroom.js

    Give your pages some headroom. Hide your header until you need it.

  • Slinky

    A light-weight, responsive, mobile-like menu plugin