-
Notifications
You must be signed in to change notification settings - Fork 1
/
splash.html
46 lines (42 loc) · 1011 Bytes
/
splash.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
<html>
<head>
<style>
html, body {
overflow: hidden;
margin: 0;
padding: 0;
}
.bgsplash {
opacity: 1.0;
background: url("assets/img/Aeneas-gui-splash.png");
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center top;
width: 495;
height: 290;
border: solid 2px rgba(0,0,0,0.5);
}
</style>
</head>
<body>
<div class="bgsplash"></div>
<script>
/*
var ipc = require('electron').ipcRenderer;
ipc.on('close-window', function(event, arg) {
console.log("Recieved close-window event");
setTimeout(() => {
var splash = document.querySelector("html");
if (splash) {
splash.style.opacity=0;
var body = document.querySelector("body");
setTimeout( () => {
body.style.width=0;
body.style.height=0;
},2000);
}
}, 100);
});*/
</script>
</body>
</html>