blob: bacef9a07b545db360f53d1c2333c53eea62af0b (
plain)
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
|
<html>
<head>
<title>Everybody do the revolve</title>
<style type="text/css">
body {
margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin: 0 auto;
}
#slide {
visibility: hidden;
position: absolute;
bottom: 0px;
top: 0px;
left: 0px;
margin: 0px;
overflow-y: hidden;
overflow-x: hidden;
}
#subframe {
width: 1920px;
height: 1080px;
}
</style>
<script src="//code.jquery.com/jquery-1.11.2.min.js"></script>
<script type="text/javascript">
var page = 0;
var iframes = 3;
var delay = 10;
function rotate() {
$('body').delay(delay*1000).queue(function(next) {
$('div').each(function(i, obj) {
if (i == page) {
this.style.visibility = 'visible';
} else {
this.style.visibility = 'hidden';
}
});
next();
rotate();
});
page = (page + 1) % iframes;
}
$(document).ready(function(){
rotate();
});
</script>
</head>
<body>
<div id="slide" style="visibility: visible;">
<iframe class="frames" id="subframe" frameborder="0" src="http://nms.tg15.gathering.org/temp.html" scrolling="no"></iframe>
</div>
<div id="slide">
<iframe class="frames" id="subframe" frameborder="0" src="http://nms.tg15.gathering.org/ping.html" scrolling="no"></iframe>
</div>
<div id="slide">
<iframe class="frames" id="subframe" frameborder="0" src="http://nms.tg15.gathering.org/dhcpkart.pl" scrolling="no"></iframe>
</div>
</body>
</html>
|