-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
151 lines (91 loc) · 2.8 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
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
<!DOCTYPE HTML>
<html>
<head>
<title>TITLE</title>
<meta charset = "UTF-8">
</head>
<!--
NOTE:
===============================================================================================
Because of simplicity & demonstration purposes, the "style" attribute is used within html tags.
Nevertheless it is recommended to use CSS for styling.
===============================================================================================
-->
<body style="text-align:center; max-width:1600px; margin-left:auto; margin-right:auto;">
<h2>Ingredients</h2>
<section>
<!--DISC-->
<div style="display:inline;">
<img id="disc" style="width:15%;opacity:1;" src="Disc.png" onclick="Checking(0)">
</div>
<!--CAN-->
<div style="display:inline; margin-right:30px; margin-left:30px;">
<img id="can" style="width:10%;opacity:1;" src="Can.png" onclick="Checking(1)">
</div>
<!--BINOCULAR-->
<div style="display:inline;">
<img id="binocular" style="width:15%;opacity:1;" src="Binocular.png" onclick="Checking(2)">
</div>
<br>
<br>
<button type="button" onclick="Reset()">RESET</button>
</section>
<h2>Transforming Substance</h2>
<section style="position:relative;">
<!--This part should be a good example why css is useful!-->
<div >
<img
id="substance"
style=" width:25%;
position:absolute;
top:7%;
z-index:2;"
src="Magic.png"
onclick="Transform()">
<img
id="binocular-feature"
style=" width: 14%;
position: absolute;
right: 47%;
top: 24%;
z-index: 1;
visibility:hidden;"
src="transformation/Sun.gif"
onclick="Transform()">
<img
id="can-feature"
style="width:25%; z-index:0; visibility:hidden;"
src="transformation/Klecks.png"
onclick="Transform()">
<br>
<br>
<br>
<br>
<audio controls
muted
id="disc-feature"
style="width:25%; visibility:hidden;"
src="transformation/Chill.wav"
type="audio/wav">
ERROR: Your browser doesn´t understand this tag :(!
</audio>
</div>
</section>
<br>
<br>
<section>
<hr width="50%">
<br>
For more explanation please visit -
<a href = "https://github.com/Incrementis/Javascript-modifying-arguments-object-/wiki">
modifying arguments object Wiki</a>
<br>
<br>
Music by <a href="https://opengameart.org/content/elevator-music">Alex McCulloch</a>
<br>
<br>
Sun.gif by <a href="http://gifgifs.com/resizer/9889/">GIFGIFs.com</a>
</sectioN>
</body>
<script language="javascript" type="text/javascript" src="arguments.js"></script>
</html>