-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
35 lines (33 loc) · 1.14 KB
/
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
<!DOCTYPE html>
<html>
<head>
<title>Yippee</title>
<meta charset="utf-8">
<script src="http://code.jquery.com/jquery-2.1.4.min.js"></script>
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Lato">
<link rel="stylesheet" type="text/css" href="CSS/index.css">
</head>
<body>
<div id="content">
<h1><div class="b">Y<div class="g">i<div class="y">p<div class="b">p<div class="y">e<div class="g">e<div class="b">!</div></div></div></div></div></div></div></h1>
<input type="text" id="query"><br>
<input type="button" value="Search" id="srch">
<p class="note">*Search outsourced to Google*</p>
</div>
<img src="img/menu.jpg" id="menu">
<a href="login.html"><img src="img/photo.png" id="options"></a>
<p class="label" id="m">Menu</p>
<p class="label" id="f">FotoFan</p>
<script type="text/javascript">
$("#srch").click(haha);
$("#query").keypress(function (event) {
if (event.which == 13) {
haha();
} });
function haha() {
var search = $("#query").val();
location.href = "https://www.google.com/search?q=" + search;
}
</script>
</body>
</html>