Template:Queens Canada/Header

From 2012.igem.org

(Difference between revisions)
Line 1: Line 1:
<html>
<html>
 +
<head>
 +
<script type="text/javascript" src="jquery.js"></script>
 +
<script type="text/javascript">
 +
var kkeys = [], konami = "38,38,40,40,37,39,37,39,66,65";
 +
 +
$(document).keydown(function(e) {
 +
 +
  kkeys.push( e.keyCode );
 +
 +
  if ( kkeys.toString().indexOf( konami ) >= 0 ) {
 +
 +
    $(document).unbind('keydown',arguments.callee);
 +
 +
    // do something awesome
 +
    $("body").addClass("konami");
 +
 +
  }
 +
 +
});
 +
</script>
 +
</head>
 +
<style type="text/css">
<style type="text/css">

Revision as of 20:13, 18 May 2012