-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy patheffect.html
More file actions
42 lines (42 loc) · 881 Bytes
/
effect.html
File metadata and controls
42 lines (42 loc) · 881 Bytes
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
<div id="startupSS4Effect"></div>
<style>
body {
background: cornflowerblue;
padding: none;
margin: 0;
}
#startupSS4Effect {
animation: startupSS4 1s linear;
background: white;
margin-left: -10px;
margin-top: -10px;
width: 2000px;
height: 2000px;
}
@keyframes startupSS4 {
0% {
display: block;
}
50% {
opacity: 50%;
}
100% {
opacity: 0%;
}
}
</style>
<script>
window.setTimeout(hideSS4Effect, 1000);
window.setTimeout(showEditor, 1500);
var splash = new Audio();
splash.src = "splash.mp3";
splash.play();
function hideSS4Effect() {
document.getElementById("startupSS4Effect").style.display = "none";
}
function showEditor() {
if(window.location) {
window.location='ss4.html'+window.location.hash;
}
}
</script>