-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
57 lines (52 loc) · 1.54 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
<html>
<head>
<meta charset ="utf-8">
<link rel="stylesheet" href="style.css"></style>
<script src="basic_animations.js"></script>
<script src="modules/currentTime.js"></script>
<script src="modules/brasovLive.js"></script>
<script src="modules/agerpres.js"></script>
<script src="modules/bitcoin.js"></script>
<script src="modules/iss.js"></script>
<script src="modules/meteo_anm.js"></script>
<script src="modules/iasiLive.js"></script>
<script>
function switchModule () {
modules[i].exit();
setTimeout(function() {
i = (i + 1) % modules.length;
modules[i].init();
setTimeout(switchModule,modules[i].preferredDuration);
},800);
}
function start() {
modules = [iasiLive, meteo_anm, issLive, bitcoin, agerpres, brasovLive, currentTime];
i = 0;
modules[0].init();
setTimeout(switchModule,modules[i].preferredDuration);
}
</script>
</head>
<body onload="start()">
<div id = "backgroundImage">
<img id ="bgImg" style="position:absolute" src="modules/clock.png"></img>
</div>
<div id = "slideTitle">
Title
</div>
<div id = "titleContainer">
<div id = "title">
<div id = "before"></div>
<div id = "text">Sample title</div>
<div id = "after"></div>
</div>
</div>
<div id = "contents">
<p class ="label" id="first">Test</p>
<p class ="label" id="second">Another test! Lorem ipsum!</p>
</div>
<div id = "topright">
<p class ="label" id ="rightlabel">Hello!!!</p>
</div>
</body>
</html>