-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.html
77 lines (74 loc) · 2.78 KB
/
home.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>WNWN :: Home</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="style/bootstrap.min.css">
<link href="style/style.css" rel="stylesheet" media="screen">
<script src="bootstrap/jquery-2.1.3.min.js" type="text/javascript"></script>
<script src="bootstrap/bootstrap.min.js" type="text/javascript"></script>
<script>
function MyMove() {
var height = 0;
var width = 0;
var button = document.getElementById("clickme");
var interval = setInterval(MoveAround, 10);
function MoveAround() {
if (height == screen.innerHeight || width == screen.innerWidth) {
clearInterval(interval);
} else {
height--;
width++;
button.style.top = height + 'px';
button.style.left = width + 'px';
}
}
}
</script>
</head>
<body class="container">
<div class="row">
<img src="img/wnwn.png" alt="Waste Not Want Not" width= "250" height="250" id="home_img" class="home_img"/>
</div>
<br/>
<!--new button version-->
<div class="nav_buttons">
<div class="row">
<div class="col-xs-10 col-xs-offset-1">
<a href="planner.html" class="btn btn-block home_nav">
<span class="glyphicon glyphicon-calendar home_glyphicon"></span> Meal Planner
</a>
</div>
</div>
<br/>
<div class="row">
<div class="col-xs-10 col-xs-offset-1">
<a class="btn btn-block home_nav">
<span class="glyphicon glyphicon-queen home_glyphicon"></span> Achievement
</a>
</div>
</div>
<br/>
<div class="row">
<div class="col-xs-10 col-xs-offset-1">
<a href="affiliated.html" class="btn btn-block home_nav">
<span class="glyphicon glyphicon-bookmark home_glyphicon"></span> Affiliated Page
</a>
</div>
</div>
<br/>
<div class="row">
<div class="col-xs-10 col-xs-offset-1">
<a href="profile.html" class="btn btn-block home_nav">
<span class="glyphicon glyphicon-user home_glyphicon"></span> Profile
</a>
</div>
</div>
</div>
<!-- style="visibility: hidden;" -->
<div id="home_easterEgg1">
<p class="glyphicon glyphicon-leaf home_glyphicon home_easterEgg_icon" onclick="MyMove()" id="clickme"></p>
</div>
</body>
</html>