-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
37 lines (30 loc) · 1.27 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
<html lang="en">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=10" />
<title>Web Display Kiosk</title>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-83874863-2', 'auto');
ga('send', 'pageview');
</script>
<script>
// Variable holding value of timer
var timer = 0
// opens new tab (hit F11 to full screen) then loads pages in order, page displayed for duration
// in milliseconds (ie 10000 = 10 seconds) on the line BELOW the URL.
setTimeout(function(){ window.open('http://www.benpaddlejones.com','_newtab') }, timer);
timer = timer + 10000
setTimeout(function(){ window.open('http://www.google.com.au','_newtab') }, timer);
timer = timer + 10000
setTimeout(function(){ window.open('http://www.dec.nsw.gov.au/','_newtab') }, timer);
timer = timer + 10000
// Reloads this page in original tab creating a loop, on loop pages will continue to load in original _newtab
setTimeout(function(){ window.open('index.html','_self') }, timer);
</script>
</head>
<body>
</body>
</html>