Luke Smith![]()
Featured ItemBased on the Konami code. Subscribers to this event should do something special. The event will be fired only once for each subscriber. With great power comes great responsibility, after all.
<script src="http://yui.yahooapis.com/3.1.0/build/yui/yui-min.js"></script>YUI({
//Last Gallery Build of this module
gallery: 'gallery-2009.10.27'
}).use('gallery-event-konami', function(Y) {
Y.one('#text-input').on('konami', function (e) {
alert("You're a filthy cheater, and will be rewarded for it");
});
});| Subject | Author | Date |
|---|---|---|
| too funny! | Andrew Wooldridge | 10/29/09 |
© 2010 YUI Library - Site Credits