mirror of
https://github.com/mgrove36/bbc-young-reporter.git
synced 2026-11-01 15:13:53 +00:00
Add page that auto-refreshes every five minutes
For use in Reading School newsroom
This commit is contained in:
1 parent
7ac9ae0a65
commit
207c04d3b2
5 files changed
+56
-4
No files matched your search
@@ -0,0 +1,18 @@
|
||||
<iframe id="iframe" src="/"></iframe>
|
||||
|
||||
<script>
|
||||
window.setInterval(function() {
|
||||
document.getElementById('iframe').contentWindow.location.reload();
|
||||
}, 300000);
|
||||
</script>
|
||||
|
||||
<style>
|
||||
html, body, iframe {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: none;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in new issue
Block a user