Added scoreboard reloader

This commit is contained in:
The Great & Powerful James Wernicke 2015-05-31 14:41:20 -06:00
parent b2f08377df
commit 3b33ed2b81
1 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,36 @@
<!DOCTYPE html>
<html>
<head>
<title>Scoreboard</title>
<link rel="stylesheet" href="style.css" type="text/css">
<script src="scoreboard.js" async></script>
<style>
body, html {
width: 100%;
height: 100%;
overflow: hidden;
cursor: none;
}
iframe {
width: 100%;
height: 100;
border: none;
margin: 0;
padding: 0;
}
</style>
<script>
function init() {
setTimeout(function(){
window.document.getElementById('reloader').src = window.document.getElementById('reloader').src;
},60000);
}
window.addEventListener("load", init);
</script>
</head>
<body>
<iframe id="reloader" src="http://localhost/tf6/scoreboard.html">
<div id="scoreboard"></div>
</body>
</html>