-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.html
248 lines (234 loc) · 11.4 KB
/
test.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
<!DOCTYPE HTML>
<!--
Massively by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<html>
<head>
<title>Elements Reference - Massively by HTML5 UP</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<link rel="stylesheet" href="assets/css/main.css" />
<noscript>
<link rel="stylesheet" href="assets/css/noscript.css" />
</noscript>
<link rel="shortcut icon" type="image/png" sizes="32x32" href="images/favicon-32x32.png">
<style>
#header .logo:hover {
-moz-transition: border-color 0.2s ease-in-out, color 0.2s ease-in-out, opacity 0.5s ease, -moz-transform 0.5s ease, visibility 0.5s !important;
-webkit-transition: border-color 0.2s ease-in-out, color 0.2s ease-in-out, opacity 0.5s ease, -webkit-transform 0.5s ease, visibility 0.5s !important;
-ms-transition: border-color 0.2s ease-in-out, color 0.2s ease-in-out, opacity 0.5s ease, -ms-transform 0.5s ease, visibility 0.5s !important;
transition: border-color 0.2s ease-in-out, color 0.2s ease-in-out, opacity 0.5s ease, transform 0.5s ease, visibility 0.5s !important;
-moz-pointer-events: auto !important;
-webkit-pointer-events: auto !important;
-ms-pointer-events: auto !important;
pointer-events: auto !important;
border-style: solid;
border-color: #ffffff !important;
color: #ffffff !important;
border-width: 5px !important;
font-size: 2.25rem !important;
font-weight: 900 !important;
letter-spacing: 0.075em !important;
line-height: 1 !important;
padding: 1rem 1.75rem !important;
text-transform: uppercase !important;
visibility: visible !important;
}
img {
max-width: 400px;
}
</style>
</head>
<body class="is-loading">
<!-- Wrapper -->
<div id="wrapper">
<!-- Header -->
<header id="header">
<a href="#" class="logo" style="font-family:'Microsoft JhengHei';">上肢骨折小測驗</a>
</header>
<!-- Nav -->
<!-- Main -->
<div id="main" style="padding:0px;">
<section>
<center>
<div class="box weekwrap">
<ol id="qusetions">
<li>
上肢骨折後,若產生骨頭的位移,則需透過手術及適當的固定來達到良好的復位及癒合。
<br>
<input type="radio" id="q_1_true" value="t" name="q_1">
<label for="q_1_true">
<h3>O</h3>
</label>
<input type="radio" id="q_1_false" value="f" name="q_1">
<label for="q_1_false">
<h3>X</h3>
</label>
</li>
<li>
上肢骨折後,若患部有骨釘固定或未癒合之傷口,切忌碰到水或碰觸不潔物。
<br>
<input type="radio" id="q_2_true" value="t" name="q_2">
<label for="q_2_true">
<h3>O</h3>
</label>
<input type="radio" id="q_2_false" value="f" name="q_2">
<label for="q_2_false">
<h3>X</h3>
</label>
</li>
<li>
上肢骨折後,術後滿兩週可詢問外科主治醫師是否需轉介至復健部由職能治療師開始復健活動。
<br>
<input type="radio" id="q_3_true" value="t" name="q_3">
<label for="q_3_true">
<h3>O</h3>
</label>
<input type="radio" id="q_3_false" value="f" name="q_3">
<label for="q_3_false">
<h3>X</h3>
</label>
</li>
<li>
上肢骨折後,當醫師認為可開始復健活動時,即可進行負重訓練。
<br>
<input type="radio" id="q_4_true" value="t" name="q_4">
<label for="q_4_true">
<h3>O</h3>
</label>
<input type="radio" id="q_4_false" value="f" name="q_4">
<label for="q_4_false">
<h3>X</h3>
</label>
</li>
<li>
上肢骨折滿六週後,可以X光檢查骨頭癒合情形,若癒合理想可移除骨釘。
<br>
<input type="radio" id="q_5_true" value="t" name="q_5">
<label for="q_5_true">
<h3>O</h3>
</label>
<input type="radio" id="q_5_false" value="f" name="q_5">
<label for="q_5_false">
<h3>X</h3>
</label>
</li>
<li>
上肢骨折後,若關節變形攣縮則須由治療師製作矯治型副木改善。
<br>
<input type="radio" id="q_6_true" value="t" name="q_6">
<label for="q_6_true">
<h3>O</h3>
</label>
<input type="radio" id="q_6_false" value="f" name="q_6">
<label for="q_6_false">
<h3>X</h3>
</label>
</li>
<li>
上肢骨折一旦骨釘移除後,可開始進行一般日常生活活動。
<br>
<input type="radio" id="q_7_true" value="t" name="q_7">
<label for="q_7_true">
<h3>O</h3>
</label>
<input type="radio" id="q_7_false" value="f" name="q_7">
<label for="q_7_false">
<h3>X</h3>
</label>
</li>
<li>上肢骨折後3個月之後才會進行肌力強化。
<br>
<input type="radio" id="q_8_true" value="t" name="q_8">
<label for="q_8_true">
<h3>O</h3>
</label>
<input type="radio" id="q_8_false" value="f" name="q_8">
<label for="q_8_false">
<h3>X</h3>
</label>
</li>
<li>關節僵硬與肌腱沾黏是常見的骨折術後後遺症,只要骨頭癒合適當,這些後遺症自然而然的會改善。
<br>
<input type="radio" id="q_9_true" value="t" name="q_9">
<label for="q_9_true">
<h3>O</h3>
</label>
<input type="radio" id="q_9_false" value="f" name="q_9">
<label for="q_9_false">
<h3>X</h3>
</label>
</li>
<li>手部骨折後需注意肢體保暖,切記避免突然進入過冷的環境。
<br>
<input type="radio" id="q_10_true" value="t" name="q_10">
<label for="q_10_true">
<h3>O</h3>
</label>
<input type="radio" id="q_10_false" value="f" name="q_10">
<label for="q_10_false">
<h3>X</h3>
</label>
</li>
</ol>
<button class="button button5" onclick="getAns()">算分</button>
</div>
<button class="button button5" onclick="location.href='introduce.html'">回介紹</button>
</center>
</section>
</div>
</div>
<!-- Scripts -->
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/jquery.scrollex.min.js"></script>
<script src="assets/js/jquery.scrolly.min.js"></script>
<script src="assets/js/skel.min.js"></script>
<script src="assets/js/util.js"></script>
<script src="assets/js/main.js"></script>
<script>
$(function () {
var $li = $('ul.clearfix li');
// 進入時預設點擊第一個頁籤,除了第一個 content 其他 content 隱藏
$($li.eq(1).addClass('active').attr('id', 'active4').find('a').attr('href')).siblings('.content').hide();
$li.click(function () {
$($(this).find('a').attr('href')).show().siblings('.content').hide();
$(this).addClass('active').attr('id', 'active4').siblings('.active').removeClass('active').removeAttr('id', 'active4');
});
});
function getAns() {
ans = [];
len = document.getElementById('qusetions').children.length;
for (var i = 1; i <= len; i++) {
qN = 'q_' + i;
a = document.getElementsByName(qN);
for (var j = 0, length = a.length; j < length; j++) {
if (a[j].checked) {
ans.push(a[j].value);
break;
}
else {
ans.push('');
}
}
}
score = countScore(ans);
alert(score);
}
function countScore(ans) {
score = 0;
cor = ['t', 't', 't', 'f', 't', 't', 't', 'f', 'f', 'f'];
for (var i = 0; i < cor.length; i++) {
if (cor[i] === ans[i]) {
score += 10;
}
else {
score += 0;
}
}
return score;
}
</script>
</body>
</html>