-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgoogle.html
executable file
·90 lines (82 loc) · 2.37 KB
/
google.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<!doctype html>
<html>
<head>
<title>Google Interactive Balls Experiment</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<!-- vector.js is just a cut version of sylvester's js
vector API, with only the Vector class. See
http://sylvester.jcoglan.com/ for more info
-->
<script type="text/javascript" src="/js/vector.js"></script>
<script type="text/javascript" src="/js/balls.js"></script>
<script type="text/javacript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-267782-2']);
_gaq.push(['_setDomainName', '.vincentwoo.com']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<meta name="description" content="A fun, interactive verison of the google search page with ball collision physics." />
<style type="text/css">
* {
font: 17px arial,sans-serif;
color: black;
}
html, body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
}
canvas {
width: 100%;
height: 100%;
position: fixed;
top: 0;
left: 0;
z-index: -1;
}
#wrap {
width: 700px;
margin: 0 auto;
position: relative;
top: 300px;
}
#q {
border-color: #C9D7F1 #3366CC #3366CC #A2BAE7;
border-width: 1px;
padding-left: 6px;
padding-right: 10px;
vertical-align: top;
width: 100%;
}
#info {
position:fixed;
bottom: 15px;
left: 15px;
}
a {
text-decoration: none;
border: 0;
}
a:hover {
cursor: pointer;
border-bottom: 2px solid #29D9C2;
margin-bottom: -2px;
}
</style>
</head>
<body>
<canvas id="c"></canvas>
<div id="wrap">
<form action="http://google.com/search" method="get" name="query" id="query">
<input id="q" name="q" type="text" title="Search" maxlength="2048" autocomplete="off" />
</form>
</div>
<a id="info" href="/2011/02/14/interactive-google-doodle/">about this page</a>
</body>
</html>