-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
64 lines (57 loc) · 2.56 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Fun Puzzle</title>
<link rel="stylesheet" href="style.css" type="text/css">
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script>
<script src="./script.js" type="text/javascript"></script>
</head>
<body>
<h1>WELCOME! HOPE YOU WILL HAVE FUN</h1>
<div class="utils">
<img width="55" height="55" class="instruction" id="instruction" src="./media/info.png" title="Instructiuni" />
<img width="55" height="55" class="zIn" id="zIn" src="./media/zoom-in.png" title="Zoom In" onclick="zoomIn()" />
<img width="55" height="55" class="zOut" id="zOut" src="./media/zoom-out.png" title="Zoom Out"
onclick="zoomOut()" />
<img width="55" height="55" class="fullView" id="fullView" src="./media/imageView.png"
title="Imagine completa" />
</div>
<p id="nivel">
<input type="radio" name="lvl" checked="checked" value="2" id="usor" class="cinput"
onclick="myFunc(this.value,img);" />
<label for="usor" id="usor" class="lvl" onmousedown="soundchose.play()">Easy level
</label>
<input type="radio" name="lvl" id="mediu" class="cinput" value="4" onclick="myFunc(this.value,img);" />
<label for="mediu" class="lvl" onmousedown="soundchose.play()">Medium level</label>
<input type="radio" name="lvl" id="greu" value="6" class="cinput" onclick="myFunc(this.value,img);" />
<label for="greu" class="lvl" onmousedown="soundchose.play()">Hard level</label>
</p>
<div class="area">
<canvas id="canvas" class="canvas"></canvas>
<img id="puzzle" class="puzzle" width="600" height="400" style="display:none" src="./media/puzzle.png" />
<div id="dialogInstruction" width="100" height="100">
<p id="info" class="info" style="display: none">
Select the desired level.<br>
Click on the gallery to view the full image. <br>
Click on zoom-in to enlarge the image. <br>
Click on zoom-out to shrink the image. <br>
Move the pieces with drag and drop to assemble the gallery image.
</p>
</div>
</div>
<div id="slice">
<ul id="pieces" class="pieces" ondrop="soundrop.play()" ondrag="soundrag.play()"></ul>
<article>
<div class="pieseanimatie" id="piesa1"></div>
<div class="pieseanimatie" id="piesa2"></div>
<div class="pieseanimatie" id="piesa3"></div>
<div class="pieseanimatie" id="piesa4"></div>
<div class="pieseanimatie" id="piesa5"></div>
<div class="pieseanimatie" id="piesa6"></div>
<div class="pieseanimatie" id="piesa7"></div>
<div class="pieseanimatie" id="piesa8"></div>
<div class="pieseanimatie" id="piesa9"></div>
</article>>
</div>
</body>
</html>