forked from twbs/bootstrap
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmenu.html
185 lines (161 loc) · 5.22 KB
/
menu.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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
<meta name="viewport" content="width=320px,user-scalable=no">
<link rel="stylesheet" href="bootstrap.css" media="all" />
<link rel="stylesheet" href="main.css" media="all" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script src="js/bootstrap-twipsy.js"></script>
<script src="js/bootstrap-popover.js"></script>
<script src="js/bootstrap-alerts.js"></script>
<script src="js/bootstrap-modal.js"></script>
</head>
<body style="margin: 0 auto;" >
<script>
function hideall(){
$(".tosaka_margin").hide();
$(".right_margin").hide();
$(".left_margin").hide();
$(".center_margin").hide();
$(".ncform").hide();
$(".nc_body").hide();
$(".postform").hide();
$(".menuform").hide();
$("#slot_face > .row").show();
$("#slot_body > * ").hide();
}
$(document).ready(function(){
$(".postbutton").click(function(){
hideall();
$(".right_margin").show();
$("#slot_face > .row").hide();//hide default face
$(".postface.template").removeClass("template").appendTo("#slot_body");
$(".postface").show();
$(".postform.template").removeClass("template").appendTo("#slot_body");
$(".postform").show();
});
$(".topbutton").click(function(){
hideall();
$(".left_margin").show();
});
$(".menubutton").click(function(){
hideall();
$(".tosaka_margin").show();
$(".menuform.template").removeClass("template").appendTo("#slot_body");
$(".menuform").show();
});
$(".ncbutton").click(function(){
hideall();
$(".center_margin").show();
$(".nc_body.template").removeClass("template").appendTo("#slot_body");
$(".nc_body").show();
});
});
</script>
<div id="slot_tosaka">
<div class="row">
<div class="span4"> <img class="topbutton" src="./LOGO.png" alt="" /> </div>
<div class="span4 ncbutton center"> <img src="./NOTIFY_CENTER.png" alt="" /> </div>
<div class="span3 offset1 center"> <img class="postbutton" src="./POST.png" alt="" /> </div>
</div>
</div>
<div class="tosaka_margin row" style="height: 12px;">
</div>
<div class="left_margin row hide" style="height: 12px;">
<img src="./LEFT_MARGIN.png" width="324" alt="" />
</div>
<div class="center_margin row hide" style="height: 12px;">
<img src="./CENTER_MARGIN.png" width="324" alt="" />
</div>
<div class="right_margin row hide" style="height: 12px;">
<img src="./RIGHT_MARGIN.png" width="324" alt="" />
</div>
<div id="slot_face">
<div class="row">
<div class="span2"> <img src="https://twimg0-a.akamaihd.net/profile_images/1208235715/201101061905_reasonably_small.png" class="rad4" width="48" height="48"> </div>
<div class="span8">
<hr class="toumei">
<div class="row"><span class="face-name">手嶋 守</span></div>
<hr class="toumei">
<div class="row"><a href="#">@MamoruTejima</a></div>
</div>
<div class="span2 center"> <img class="menubutton" src="./HomeIcon.png" height="48"> </div>
</div>
</div>
<hr class="toumei">
<div class="menuform hide template">
<div class="menu-margin row">
<img src="./MENU_MARGIN.png" width="324" height="12" >
</div>
<div class="menu-top row">
</div>
<div class="menu-middle row">
<div class="span10 offset1 font20" style="text-align: left; margin-bottom: 4px;">
Home Menu
</div>
</div>
<div class="menu-middle row">
<div class="span11 offset1">
<a class="btn">Home</a>
<a class="btn">Diary</a>
<a class="btn">Community</a>
<a class="btn">Community</a>
<a class="btn">Logout</a>
<a class="btn">Home</a>
<a class="btn">Diary</a>
<a class="btn">Logout</a>
<a class="btn">Home</a>
<a class="btn">Diary</a>
<a class="btn">Community</a>
<a class="btn">Logout</a>
</div>
</div>
<div class="menu-middle row">
<div class="span10 offset1 font20" style="text-align: left; margin-bottom: 4px;">
Global Menu
</div>
</div>
<div class="menu-middle row">
<div class="span11 offset1">
<a class="btn">Home</a>
<a class="btn">Diary</a>
<a class="btn">Community</a>
<a class="btn">Logout</a>
</div>
</div>
<div class="menu-bottom row">
<div class="span12"> </div>
</div>
</div>
<div class="nc_body row hide template">
Notification Center
</div>
<div id="post_gadget" class="hide">
<div class="postface row">
<div class="span2"><img src="https://twimg0-a.akamaihd.net/profile_images/1208235715/201101061905_reasonably_small.png" class="rad4" width="48" height="48"> </div>
<div class="span3">
<img src="./post_icon.png" alt="" />
</div>
<div class="span5">
<div class="row"><span class="face-name">フットサル</span></div>
<hr class="toumei">
<div class="row"><a href="#">@TeamSagantosu</a></div>
</div>
<div class="span2"> <img src="https://twimg0-a.akamaihd.net/profile_images/1208235715/201101061905_reasonably_small.png" class="rad4" width="48" height="48"> </div>
</div>
<div class="postform">
<hr class="toumei">
<div class="row">
<textarea class="span12" rows="3" >?</textarea>
</div>
<div class="row">
<button class="span12 btn small primary" >POST</button>
</div>
<hr class="toumei100">
</div>
</div>
</body>
</html>