-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdemo.html
85 lines (73 loc) · 3.88 KB
/
demo.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
<!DOCTYPE html>
<html xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:svg="http://www.w3.org/2000/svg" xmlns:epub="http://www.idpf.org/2007/ops" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Demo</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"/>
<link rel="stylesheet" href="css/demo.css"/>
<link rel="stylesheet" href="css/epubmatching.css"/>
</head>
<body xml:lang="en-US" lang="en-US">
<section class="container">
<h1>EPub3 Accessible Assessment</h1>
<h2>Matching</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ab amet architecto at autem distinctio dolore ea eius, enim explicabo incidunt ipsa, maxime nihil quibusdam quis quisquam quo tenetur ullam voluptatibus?</p>
<pre>
<div id="AssessmentId" class="match-problem" epub:type="match-problem" aria-describedby="instructionA">
<p id="instructionA">Match the items on the left list with the items on the right list</p>
<div class="question" epub:type="question">
<ol>
<li>The point that, if won, wins the match for a player</li>
<li>The area between the net and the service line</li>
<li>Hitting the ball before it bounces</li>
</ol>
<ol>
<li>ace</li>
<li>backswing</li>
<li>center service line</li>
</ol>
</div>
</div>
<ol id="answersA" class="answer" epub:type="answer">
<li><span>ace</span> The point that, if won, wins the match for a player</li>
<li><span>center service line</span> The area between the net and the service line</li>
<li><span>backswing</span> Hitting the ball before it bounces</li>
</ol>
</pre>
<div id="matchAssessment1" class="match-problem" epub:type="match-problem" aria-describedby="instructionA">
<p id="instructionA">Match the items on the left list with the items on the right list</p>
<div class="question" epub:type="question">
<ol>
<li>The point that, if won, wins the match for a player</li>
<li>The area between the net and the service line</li>
<li>Hitting the ball before it bounces</li>
</ol>
<ol>
<li>ace</li>
<li>backswing</li>
<li>center service line</li>
</ol>
</div>
</div>
<ol id="answersA" class="answer" epub:type="answer">
<li><span>ace</span> The point that, if won, wins the match for a player</li>
<li><span>center service line</span> The area between the net and the service line</li>
<li><span>backswing</span> Hitting the ball before it bounces</li>
</ol>
</section>
<script
src="https://code.jquery.com/jquery-3.1.1.min.js"
integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8="
crossorigin="anonymous"></script>
<script type="text/javascript" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script type="text/javascript" src="jquery/jquery.epubmatching.js"></script>
<script type="text/javascript">
$(function() {
$("#matchAssessment1").epubmatching({
groupLabels: ["definitions", "terms"],
answerElement: $('#answersA'),
showSelectedItems: true
})
});
</script>
</body>