Archived
rails 4 and tons of stuff
This commit is contained in:
@@ -21,4 +21,15 @@ $(function(){
|
||||
})
|
||||
});
|
||||
}, 4000);
|
||||
var pressed = new Array(10);
|
||||
var keys = [38,38,40,40,37,39,37,39,66,65];
|
||||
$(document).keydown(function(e) {
|
||||
pressed.push(e.keyCode);
|
||||
pressed.shift();
|
||||
if ( pressed.toString() == keys.toString() ) {
|
||||
$('html').css('overflow-x', 'hidden');
|
||||
$('body').css('animation', '1s alternate-reverse infinite wiggle');
|
||||
$('img').css('transform', 'rotate(180deg)');
|
||||
}
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user