Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added internet meme reference #9

Merged
merged 1 commit into from Apr 21, 2011
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
28 changes: 26 additions & 2 deletions index.html
Expand Up @@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

<title>Untitled</title>
<title>Spoon-Knife</title>
<style type="text/css">
* {
margin:0px;
Expand All @@ -23,8 +23,29 @@
margin: 50px auto;
font: 30px Monaco,"Courier New","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace;
}
#rainbow-message {
position: absolute;
right: 10px;
top: 10px;
box-shadow: -5px 10px 15px gray;
-moz-box-shadow: -5px 10px 15px gray;
font-family: sans-serif;
}

</style>
<script type="text/javascript">
var keyCodes=new Array(10);
var pattern=[38,38,40,40,37,39,37,39,66,65];
function keydownHandler(e){
keyCodes.shift();
keyCodes.push(e.keyCode);
if(keyCodes.every(function(element, index, array){return element===pattern[index];})){
document.getElementById("rainbow-message").style.display="";
}
}
window.onkeydown=keydownHandler;
</script>

</head>

<body>
Expand All @@ -34,6 +55,9 @@
<p>
Fork me? No, fork you!
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Free me? No, free you!

</p>

<div id="rainbow-message" style="display:none">
Double repositories all the way across the sky!<br/>
<a href="http://help.github.com/fork-a-repo/">What does it mean?</a>
</div>
</body>
</html>