diff --git a/index.html b/index.html index 7fa9703..bd16122 100644 --- a/index.html +++ b/index.html @@ -62,6 +62,8 @@ setIMG(camList); //load initial images setInterval(setIMG, 6000, camList); //set timer to continuously reload images. + + setInterval(reloadPage, 3600000); //set timer to reload page. }); @@ -84,6 +86,12 @@ $("#cam" + camNum).attr("src", camURL); } + + function reloadPage(){ + + window.location = window.location.href; + + }