-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.html
More file actions
104 lines (93 loc) · 3.46 KB
/
example.html
File metadata and controls
104 lines (93 loc) · 3.46 KB
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<html>
<head>
<style type="text/css">
.button {
height:150px;
-webkit-border-radius: 20px;
-moz-border-radius: 20px;
border-radius: 20px;
background-color:#E3A20B;
line-height:112px;
}
.btn_text {
font-family: “Lucida Sans Unicode”, sans-serif;
font-size: 33px;
font-style: normal;
font-weight: normal;
text-transform: normal;
letter-spacing: -3px;
line-height: 1.2em;
}
</style>
</head>
<body>
<center><h1>Resize Me!</h></center>
<!-- this is the grid_menu container, it will contain all of the menus.
Note the class="grid_menu" attribute. -->
<div id="grid_menu">
<!-- this is a menu container, and will contain buttons for the menu.
Note the class="menu" attribute-->
<div id="home" class="menu">
<div id="users" class="button">
<center class="btn_text">Users</center>
</div>
<div id="settings" class="button">
<center class="btn_text">Settings</center>
</div>
<div id="start" class="button">
<center class="btn_text">Start Game</center>
</div>
</div>
<div id="users" class="menu">
<div id="new" class="button" onclick="alert('clicked new');">
<center class="btn_text">New User</center>
</div>
<div id="login" class="button" onclick="alert('clicked login');">
<center class="btn_text">Login</center>
</div>
<div id="delete" class="button" onclick="alert('clicked delete');">
<center class="btn_text">Delete User</center>
</div>
<div id="home" class="button">
<center class="btn_text">Home</center>
</div>
</div>
<div id="settings" class="menu">
<div id="video" class="button" onclick="alert('clicked video');">
<center class="btn_text">Video</center>
</div>
<div id="audio" class="button" onclick="alert('clicked audio');">
<center class="btn_text">Audio</center>
</div>
<!-- id of the button should be the same id of the menu you want the
button to create next. If the onclick event is set then id
can be whatever you want.-->
<div id="home" class="button">
<center class="btn_text">Home</center>
</div>
<!-- so when the above 'div' tag is clicked, the menu 'home' will be
displayed.-->
</div>
<div id="start" class="menu">
<div id="new" class="button" onclick="alert('clicked new');">
<center class="btn_text">New</center>
</div>
<div id="load" class="button" onclick="alert('clicked load');">
<center class="btn_text">Load</center>
</div>
<div id="save" class="button" onclick="alert('clicked save');">
<center class="btn_text">Save</center>
</div>
<div id="home" class="button">
<center class="btn_text">Home</center>
</div>
</div>
</div>
<script type="text/javascript" src="js/vendor/jquery-1.8.2.js"></script>
<script type="text/javascript" src="js/vendor/jquery.grid-a-licious.js"></script>
<script type="text/javascript" src="js/grid-menu.js"></script>
<script type="text/javascript">
$('#grid_menu').gridMenu();
</script>
</body>
</html>