-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathselectionMenu.html
87 lines (75 loc) · 2.84 KB
/
selectionMenu.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
<html>
<head>
<meta name="viewport" content="user-scalable=no,initial-scale=1.0, maximum-scale=1.0" />
<link rel="icon" href="/static/images/logo/logo_transparent_colorB.png" type="image/svg+xml">
<style>
html,body{
background-color: white;
}
div {
text-align: justify;
margin-top:15vh;
}
div img {
display: inline-block;
// width: 100px;
// height: 100px;
width:30vw;
height:30vw;
}
div:after {
content: '';
display: inline-block;
width: 100%;
}
label{position:absolute;margin-left:10px;margin-top:-20px;}
.footer {
position: fixed;
left: 0;
bottom: 0;
width: 100%;
background-color: white;
color: black;
text-align: center;
border: 1px solid black; opacity: 0.9;
}
</style>
<script src="static/lib/jquery_slim_341.js"></script>
</head>
<body id="body" onclick="openFullscreen()">
<p style="position:absolute;margin-left: auto;margin-right: auto;left: 0;right: 0;text-align: center;"> Ziggurat is compatible with Chrome & Firefox.</p>
<br>
<div>
<label>Synthesizer</label> <img src="static/images/logo/logo_transparent_colorB.png" onclick="window.location.href = '/'" />
<label>Drum Machine</label> <img src="static/images/logo/logo_transparent_color_drumMachine.png" onclick="window.location.href = '/static/drumMachine/index.html'" />
<label>Mixer</label> <img src="static/images/logo/logo_transparent_colorA_mixer.png" onclick="window.location.href = '/combinedMixer.html'"/>
</div><br>
<button style="margin-top:-12px; width:48%; height:7%; position: absolute; left:25%; background-color:grey; text-align:center;color:white; border:3px solid black; " onclick="location.href='/chords'">Chords mode</button>
<div class="footer">
<button style="margin-top:2px; background-color:#0cc230;" onclick="$('#sFooterInfo').toggle()">Dev info</button>
<span id="sFooterInfo" hidden>
<p>Jonathan F.M. Neels - Fumetsujo Studio <br>
Contact information: <a href="mailto:[email protected]">
[email protected]</a>. <br>
Site: <a href="https://fumetsujo.pythonanywhere.com">
https://fumetsujo.pythonanywhere.com/</a>.</p></span>
</div>
<script>
/* Get the element you want displayed in fullscreen mode (a video in this example): */
var elem = document.getElementById("body");
/* When the openFullscreen() function is executed, open the video in fullscreen.
Note that we must include prefixes for different browsers, as they don't support the requestFullscreen method yet */
function openFullscreen() {
if (!document.fullscreenElement) {
if (elem.requestFullscreen) {
elem.requestFullscreen();
} else if (elem.webkitRequestFullscreen) { /* Safari */
elem.webkitRequestFullscreen();
} else if (elem.msRequestFullscreen) { /* IE11 */
elem.msRequestFullscreen();
}
}
}
</script>
</body>
</html>