js function name updates
authorSteve Sutton <steve@gaslightmedia.com>
Mon, 1 Feb 2016 21:06:31 +0000 (16:06 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Mon, 1 Feb 2016 21:06:31 +0000 (16:06 -0500)
js/app.js
js/custom/pageSetup.js

index 025432f..19d6e31 100644 (file)
--- a/js/app.js
+++ b/js/app.js
@@ -99,15 +99,15 @@ $(document).ready(function () {
             $(this).parent("li").addClass("current");
         }
     });
-    function reloadImg() {
+    function glmReloadImg() {
         $('#cam1').attr('src','http://www.otsegocountymi.gov/images/OtsegoCoNWCam.jpg?b=' + Math.random());
         $('#cam2').attr('src','http://www.otsegocountymi.gov/images/OtsegoCoNECam.jpg?i=' + Math.random());
         $('#cam3').attr('src','http://www.otsegocountymi.gov/images/OtsegoCoAirCam.jpg?b=' + Math.random());
         $('#cam4').attr('src','http://www.otsegocountymi.gov/images/OtsegoCoAnimalCam.jpg?b=' + Math.random());
         $('#cam5').attr('src','http://www.weather.gov/images/apx/webcam/webcam.jpg?b=' + Math.random());
-        setTimeout("reloadImg()", 1000);
+        setTimeout("glmReloadImg()", 10000);
     }
-    reloadImg();
+    glmReloadImg();
 
    /* get number of elements in DOM console.log($("*").length);
     var pageBytes = $('html').html().length;
index ca3de62..3004c8e 100644 (file)
@@ -90,15 +90,15 @@ $(document).ready(function () {
             $(this).parent("li").addClass("current");
         }
     });
-    function reloadImg() {
+    function glmReloadImg() {
         $('#cam1').attr('src','http://www.otsegocountymi.gov/images/OtsegoCoNWCam.jpg?b=' + Math.random());
         $('#cam2').attr('src','http://www.otsegocountymi.gov/images/OtsegoCoNECam.jpg?i=' + Math.random());
         $('#cam3').attr('src','http://www.otsegocountymi.gov/images/OtsegoCoAirCam.jpg?b=' + Math.random());
         $('#cam4').attr('src','http://www.otsegocountymi.gov/images/OtsegoCoAnimalCam.jpg?b=' + Math.random());
         $('#cam5').attr('src','http://www.weather.gov/images/apx/webcam/webcam.jpg?b=' + Math.random());
-        setTimeout("reloadImg()", 1000);
+        setTimeout("glmReloadImg()", 10000);
     }
-    reloadImg();
+    glmReloadImg();
 
    /* get number of elements in DOM console.log($("*").length);
     var pageBytes = $('html').html().length;