-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
107 lines (104 loc) · 3.64 KB
/
index.html
File metadata and controls
107 lines (104 loc) · 3.64 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="Refresh" content="3600">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<script
src="https://code.jquery.com/jquery-3.4.1.min.js"
integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo="
crossorigin="anonymous">
</script>
</head>
<style>
body {
margin: 0px;
width: 100%;
height: 100vh;
background-color: grey;
}
iframe {
width: 100%;
height: 100vh;
background-color: grey;
}
.iframe {
width: 100%;
min-height: 100vh;
margin: 0px;
}
</style>
<body>
<div class="iframe 1" style="display: none">
<iframe src="https://app.powerbi.com/view?r=eyJrIjoiMzE3NTBkMWMtMTBkNC00MDViLTkyMzktMDRiMjhlNWQ1ZTMyIiwidCI6Ijc5YzNmYTA1LTY0ZTYtNDBhMC04ODJjLTJjYjdmYjQ5MjNjMCIsImMiOjF9" frameborder="0"></iframe>
</div>
<div class="iframe 2" style="display: none">
<iframe src="https://app.powerbi.com/view?r=eyJrIjoiNjYyNTlkYTctZGFmYi00YmNhLThjNjgtYjg2ZGJlMGI4M2VkIiwidCI6Ijc5YzNmYTA1LTY0ZTYtNDBhMC04ODJjLTJjYjdmYjQ5MjNjMCIsImMiOjF9" frameborder="0"></iframe>
</div>
<div class="iframe 3" style="display: none">
<iframe src="https://app.powerbi.com/view?r=eyJrIjoiZjRhYzYxMjUtMmM4Ny00NmI3LTkzMzUtNDJhZDI0MDFkNjNlIiwidCI6Ijc5YzNmYTA1LTY0ZTYtNDBhMC04ODJjLTJjYjdmYjQ5MjNjMCIsImMiOjF9" frameborder="0"></iframe>
</div>
<div class="iframe 4" style="display: none">
<iframe src="https://app.powerbi.com/view?r=eyJrIjoiYTYxY2MzYTEtZmVjNC00OGYyLTkyYTUtYzI3ODFmYTJhNGRlIiwidCI6Ijc5YzNmYTA1LTY0ZTYtNDBhMC04ODJjLTJjYjdmYjQ5MjNjMCIsImMiOjF9" frameborder="0"></iframe>
</div>
<div class="iframe 5" style="display: none">
<iframe src="https://app.powerbi.com/view?r=eyJrIjoiZWQ1ZTQ2YjYtMGJkYS00ZjZkLWIxNTgtZjc2MTFlNjBjZGY3IiwidCI6Ijc5YzNmYTA1LTY0ZTYtNDBhMC04ODJjLTJjYjdmYjQ5MjNjMCIsImMiOjF9" frameborder="0"></iframe>
</div>
<div class="iframe 6" style="display: none">
<iframe src="https://app.powerbi.com/view?r=eyJrIjoiZTNlMzQwZTgtNzE4Mi00MGE5LWEyMWEtZjRlZjlhMGNmNTIxIiwidCI6Ijc5YzNmYTA1LTY0ZTYtNDBhMC04ODJjLTJjYjdmYjQ5MjNjMCIsImMiOjF9" frameborder="0"></iframe>
</div>
<div class="iframe 7" style="display: none">
<iframe src="https://app.powerbi.com/view?r=eyJrIjoiOTgxNmY0NTEtMjlmNy00YTEzLThhNTgtZjMzMDZhMmQ4NjAzIiwidCI6Ijc5YzNmYTA1LTY0ZTYtNDBhMC04ODJjLTJjYjdmYjQ5MjNjMCIsImMiOjF9" frameborder="0"></iframe>
</div>
<script>
var link =1;
refreshFrame();
setInterval(refreshFrame,60000);
setTimeout(function () { location.reload(1); }, (60000*2*7));
function refreshFrame(){
console.log('cargooo!')
switch (link) {
case 1:
$('.7').hide();
$('.1').show();
link++;
break;
case 2:
$('.1').hide();
$('.2').show();
link++;
break;
case 3:
$('.2').hide();
$('.3').show();
link++;
break;
case 4:
$('.3').hide();
$('.4').show();
link++;
break;
case 5:
$('.4').hide();
$('.5').show();
link++;
break;
case 6:
$('.5').hide();
$('.6').show();
link++;
break;
case 7:
$('.6').hide();
$('.7').show();
link = 1;
break;
default:
break;
}
}
</script>
</body>
</html>