-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path24.html
333 lines (306 loc) · 12.1 KB
/
24.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
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
<!DOCTYPE html>
<html lang="zh-tw">
<head>
<meta charset="utf-8" />
<meta name="description" content="無所不在學習導引機制" />
<meta name="author" content="JennyTsai" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="assets/bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>恐龍時代</title>
<!--放網址小圖示-->
<link rel="icon" href="picture/favicon.ico" type="image/x-icon" />
<!-- 清除預設樣式 -->
<link href="assets/css/YUI-reset.css" rel="stylesheet" />
<!-- 套用自己的樣式 -->
<link href="css/01_style.css" rel="stylesheet" media="screen" />
<link href="css/Umobile_style.css" rel="stylesheet" media="handheld, screen and (max-width: 480px)" />
<!-- 舊版IE相容性 -->
<!-- 修正CSS相容性問題 -->
<!--[if lt IE 9]> <script src="assets/js/html5shiv.js"></script> <![endif]-->
<!-- 修正Png背景透明問題 -->
<!--[if lt IE 7]>
<script src="assets/js/DD_belatedPNG_0.0.8a-min.js" type="text/javascript"></script> <script type="text/javascript">
DD_belatedPNG.fix('*');
</script>
<![endif]-->
</head>
<body>
<div id="page">
<header>
<div class="inner">
<!-- 這是header頁首區塊 -->
</div>
</header>
<div id="content" class="con_total">
<div class="inner">
<article class="middle_line">
<h1>竊蛋龍</h1>
<p>屬於<strong class="other">腔尾龍類</strong>一員的竊蛋龍,是一種善於奔跑的二足小型恐龍。<p/>
<p class="question"><img src="picture/b.png" alt="觀察">仔細觀察竊蛋龍的頭部</p>
<p>牠最明顯的特徵是頭部短,而且頭上還有一高聳的骨質頭冠,非常的突出。</p>
<p class="abreast-04"/><p class="abreast-04"/>
<p class="question"><img src="picture/b.png" alt="觀察"> 看看牠的嘴巴</p>
<p>竊蛋龍的嘴喙是沒有牙齒,取而代之是強而有力的喙和下顎,作用和現生鸚鵡的喙差不多。</p>
<p class="abreast-04"/><p class="abreast-04"/>
<p class="question"><img src="picture/q.png" alt="問題"> 有沒有發現和暴龍相似的地方呢?</p>
<p class="umobile dis_top">牠的前肢有著典型獸足類的利爪,從牠們的化石胃含物中,也常發現一些小型的脊椎動物,因此牠們應該也是肉食性的。</p>
<p class="abreast-04"/><p class="abreast-04"/>
<p class="question"><img src="picture/q.png" alt="問題"> 竊蛋龍生活在什麼地方?還有年代呢?</p>
<p>牠們主要分佈在蒙古的戈壁沙漠,生活年代為<strong class="other">晚白堊紀。</strong></p>
<p class="abreast-04"/><p class="abreast-04"/>
<p class="question"><img src="picture/q.png" alt="問題">竊蛋龍 ─ 是小偷,還是慈祥的母親?</p>
<p class="umobile dis_top">竊蛋龍最早是由美國自然史博物館於1920年代在中亞地區發掘之旅時所發現,當時其骨骸是在一窩被認為是原角龍蛋的旁邊,
當時的科學家便認為這種恐龍正要偷取別的恐龍的蛋,這就是竊蛋龍命名的由來</p>
<p class="umobile dis_top">1993年,美國自然史博物館的古生物學家在另一次中亞洲地區發掘之旅時,發現部份恐龍蛋窩中的蛋有竊蛋龍的胚胎,
因此過去一直認為是原角龍的蛋,其實是屬於竊蛋龍的。</p>
<p class="umobile dis_top">更重要的是發現一隻竊蛋龍蹲伏在一窩蛋上的化石,其姿態和今天的鳥在孵蛋時十分相似。
由於新化石證物的發現,竊蛋龍一夜之間便由小偷成了慈祥的母親!</p>
<p class="abreast-04"/><p class="abreast-04"/>
<p class="abreast-04"/><p class="abreast-04"/>
<p class="emphasis2"><img src="picture/D.gif" alt="想想"> 請仔細觀察展品,並回答問題!</p>
<p class="last_line"></p>
</article>
<div class="middle_line">
<input id="fin_but" type="button" class="btn btn-danger btn btn-lg" onClick="finish_click()" value="學習完成">
</div>
<p/>
</div>
</div>
<div id="question1" class="section black middle_line">
<h3> Q: 竊蛋龍最明顯的特徵是什麼,而且頭上還有一高聳的骨質頭冠,非常的突出?</h3>
<br/>
<div class="middle_line">
<button type="button" data-toggle="modal" data-target="#fault_ans" class="button_answer" onClick="alertno()">(A) 脖子長</button>
<br/><br/>
<button type="button" data-toggle="modal" data-target="#correct_ans" class="button_answer" onClick="alertyes()">(B) 頭部短 </button>
<br/><br/>
<button type="button" data-toggle="modal" data-target="#fault_ans" class="button_answer" onClick="alertno()">(C) 腿部長</button>
</div>
<p class="abreast-09"/>
</div>
<div id="question2" class="section black middle_line">
<h3> Q: 竊蛋龍主要分佈在蒙古的戈壁沙漠,生活年代為?</h3>
<br/>
<div class="middle_line">
<button type="button" data-toggle="modal" data-target="#fault_ans" class="button_answer" onClick="alertno()">(A) 三疊紀晚期</button>
<br/><br/>
<button type="button" data-toggle="modal" data-target="#correct_ans" class="button_answer" onClick="alertyes()">(B) 白堊紀晚期</button>
<br/><br/>
<button type="button" data-toggle="modal" data-target="#fault_ans" class="button_answer" onClick="alertno()">(C) 侏儸紀晚期</button>
</div>
<p class="abreast-09"/>
</div>
<div id="question3" class="section black middle_line">
<h3> Q: 竊蛋龍屬於哪一類恐龍且是一種善於奔跑的二足小型恐龍?</h3>
<br/>
<div class="middle_line">
<button type="button" data-toggle="modal" data-target="#correct_ans" class="button_answer" onClick="alertyes()">(A) 腔尾龍類</button>
<br/><br/>
<button type="button" data-toggle="modal" data-target="#fault_ans" class="button_answer" onClick="alertno()">(B) 稜齒龍類</button>
<br/><br/>
<button type="button" data-toggle="modal" data-target="#fault_ans" class="button_answer" onClick="alertno()">(C) 堅尾龍類</button>
</div>
<p class="abreast-09"/>
</div>
<div id="question4" class="section black middle_line">
<h3> Q: 竊蛋龍的嘴喙沒有牙齒,而由喙及哪一部位取而代之?</h3>
<br/>
<div class="middle_line">
<button type="button" data-toggle="modal" data-target="#fault_ans" class="button_answer" onClick="alertno()">(A) 肌肉</button>
<br/><br/>
<button type="button" data-toggle="modal" data-target="#fault_ans" class="button_answer" onClick="alertno()">(B) 上顎</button>
<br/><br/>
<button type="button" data-toggle="modal" data-target="#correct_ans" class="button_answer" onClick="alertyes()">(C) 下顎</button>
</div>
<p class="abreast-09"/>
</div>
<div id="question5" class="section black middle_line">
<h3> Q: 竊蛋龍生活的年代為白堊紀晚期,主要分布於?</h3>
<br/>
<div class="middle_line">
<button type="button" data-toggle="modal" data-target="#fault_ans" class="button_answer" onClick="alertno()">(A) 非洲撒哈拉沙漠</button>
<br/><br/>
<button type="button" data-toggle="modal" data-target="#fault_ans" class="button_answer" onClick="alertno()">(B) 北美西部沙漠</button>
<br/><br/>
<button type="button" data-toggle="modal" data-target="#correct_ans" class="button_answer" onClick="alertyes()">(C) 蒙古戈壁沙漠</button>
</div>
<p class="abreast-09"/>
</div>
<div id="fault_ans" class="alert_ans modal fade" role="dialog" data-backdrop="static" data-backdrop="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title" id="myModalLabel">答錯囉!!</h4>
</div>
<div class="modal-body">
<p>請回去教材再學習一次喔!!<p/>
</div>
<div class="modal-footer">
<button class="button_answer_ok" data-dismiss="modal" onClick="return_study()">OK</button>
</div>
</div>
</div>
</div>
<div id="correct_ans" class="alert_ans modal fade" role="dialog" data-backdrop="static" data-backdrop="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title" id="myModalLabel">恭喜答對囉!!</h4>
</div>
<div class="modal-body">
<p>前往下一個標的吧!!<p/>
</div>
<div class="modal-footer">
<button class="button_answer_ok" data-dismiss="modal" onClick="learnFinish()">OK</button>
</div>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script src="assets/bootstrap/js/bootstrap.min.js"></script>
<script>
//data-toggle="modal" data-target="#fault_ans"
var ansQID = []; //存放題號
var ansCheck = []; //答題對錯(1:對,0:錯)
var count = 2; //倒數的次數
var n = 0;
var i = 0;
var j = 0;
var timeOut;
<!--學習完教材按下「學習完成」扭-->
function finish_click()
{
$('html, body').scrollTop(0); //捲軸回到0的位置
if( i == 0 )
{
n = Math.floor(Math.random() * 5) + 1;
switch(n){
case 1:
$("div#content").css("display","none");
$("div#question1").css("display","inline");
//alert("1");
break;
case 2:
$("div#content").css("display","none");
$("div#question2").css("display","inline");
//alert("2");
break;
case 3:
$("div#content").css("display","none");
$("div#question3").css("display","inline");
//alert("3");
break;
case 4:
$("div#content").css("display","none");
$("div#question4").css("display","inline");
//alert("4");
break;
case 5:
$("div#content").css("display","none");
$("div#question5").css("display","inline");
//alert("5");
break;
}
}
}
<!--跳出答錯的alert視窗-->
function alertno()
{
$("#fault_ans").css("display","inline");
switch(n){
case 1:
ansQID[j] = "24-1";
ansCheck[j] = 0;
break;
case 2:
ansQID[j] = "24-2";
ansCheck[j] = 0;
break;
case 3:
ansQID[j] = "24-3";
ansCheck[j] = 0;
break;
case 4:
ansQID[j] = "24-4";
ansCheck[j] = 0;
break;
case 5:
ansQID[j] = "24-5";
ansCheck[j] = 0;
break;
}
j++;
$("#fault_ans").modal({show:false});
}
<!--答錯跳出的alert按下OK時回到教材再學習一次-->
function return_study()
{
$('html, body').scrollTop(0); //捲軸回到0的位置
$("div#question1").css("display","none");
$("div#question2").css("display","none");
$("div#question3").css("display","none");
$("div#question4").css("display","none");
$("div#question5").css("display","none");
$("div#fault_ans").css("display","none");
$("div#content").css("display","inline");
i = i + 1;
count = 2;
n = 0;
ftime();
}
<!--按鈕倒數計時-->
function ftime(){ time(); }
function time()
{
if (count == 0) {
$("input#fin_but").attr("disabled", false);
$("input#fin_but").val("學習完成");
i = 0;
clearTimeout(timeOut);
}
else {
count--;
$("input#fin_but").attr("disabled", "disabled");
$("input#fin_but").val("請再學習一次!!(" + count.toString() + ")");
timeOut = setTimeout(time, 1000);
}
}
<!--跳出答對的alert視窗-->
function alertyes()
{
//ansQID[j] = 題號, j = 0 ~ 答對的那題
//ansCheck[j] = 答題對錯, j = 0 ~ 答對的那題
switch(n){
case 1:
ansQID[j] = "24-1";
ansCheck[j] = 1;
break;
case 2:
ansQID[j] = "24-2";
ansCheck[j] = 1;
break;
case 3:
ansQID[j] = "24-3";
ansCheck[j] = 1;
break;
case 4:
ansQID[j] = "24-4";
ansCheck[j] = 1;
break;
case 5:
ansQID[j] = "24-5";
ansCheck[j] = 1;
break;
}
$("#correct_ans").css("display","inline");
}
<!--答對的alert視窗按下OK後的動作-->
function learnFinish()
{
Android.learnFinish(ansQID,ansCheck);
}
</script>
</body>
</html>