質問編集履歴

1

HTMLの追記

2016/12/02 21:07

投稿

Tomonyuki
Tomonyuki

スコア16

test CHANGED
File without changes
test CHANGED
@@ -9,8 +9,6 @@
9
9
  ###該当のソースコード
10
10
 
11
11
  ```CSS
12
-
13
- <style type="text/css">
14
12
 
15
13
  html, body { margin:0;padding:0;height:100%; }
16
14
 
@@ -96,8 +94,6 @@
96
94
 
97
95
 
98
96
 
99
-
100
-
101
97
  .last_alert {
102
98
 
103
99
  width:100%; height:100%; position:absolute;top:0;left:0;
@@ -159,3 +155,39 @@
159
155
  }
160
156
 
161
157
  ```
158
+
159
+
160
+
161
+ ```HTML
162
+
163
+ <div id="pcontainer">
164
+
165
+ <?php
166
+
167
+ if(!$_POST["post_flg"]) {
168
+
169
+ ?>
170
+
171
+ <div id="display1" class="frame_alert"><span class="memo"><strong>1枚目</strong></span></div>
172
+
173
+ <div id="display2" class="frame_alert"><span class="memo"><strong>2枚目</strong></span></div>
174
+
175
+ <div id="display3" class="frame_alert"><span class="memo"><strong>3枚目</strong></span>
176
+
177
+ <form action="" method="post"><input type="submit" name="post_flg" value="ボタン"></form></div>
178
+
179
+ <?php
180
+
181
+ } else {
182
+
183
+ ?>
184
+
185
+ <div id="display4" class="last_alert"><span class="memolast_alert"><strong>4枚目</strong></span></div>
186
+
187
+ <div id="display5" class="last_alert"><span class="memolast_alert"><strong>5枚目</strong></span></div>
188
+
189
+ <?php } ?>
190
+
191
+ </div>
192
+
193
+ ```