-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
38 lines (31 loc) · 967 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Did I eat breakfast?</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css" media="screen">
body {
background: #fff;
color: #000;
font-weight: bold;
font-size: 180pt;
font-family: 'Helvetica', 'Arial', sans-serif;
text-align: center;
padding-top: 200px;
}
h1 {
font-size: 12pt;
text-align: left;
}
</style>
</head>
<body>
Nope<script src="processing-1.3.6.min.js"></script><canvas id="breakfast" data-processing-sources="breakfast.pde"></canvas>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script>
$('canvas').on('click',function () {
$('canvas').css({ position: 'fixed', top: 0, right: 0, bottom: 0, left: 0 });
});
</script>
</body>
</html>