Template:Queens Canada/Header

From 2012.igem.org

(Difference between revisions)
Line 1: Line 1:
<html>
<html>
<head>
<head>
-
<script type="text/javascript" src="jquery.js"></script>
+
<script src="http://konamicodesites.s3.amazonaws.com/javascripts/all.js" type="text/javascript"></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>
</head>

Revision as of 20:17, 18 May 2012