]> wagnertech.de Git - mfinanz.git/blobdiff - templates/webpages/menu/menuv3.html
(merge) window.onload nicht direkt setzen
[mfinanz.git] / templates / webpages / menu / menuv3.html
index 9a3410da50e5ba6c971f073892fea160d44beee7..b3f064a5c0d04211d20caa77254d9fbf0f50c05e 100644 (file)
@@ -27,13 +27,14 @@ function on_keydown_quicksearch(e) {
   return false;
 }
 
-$(function() {
+function clockon() {
   var now = new Date();
   var h = now.getHours();
   var m = now.getMinutes();
   document.getElementById('clock_id').innerHTML = (h<10?'0'+h:h)+":"+(m<10?'0'+m:m);
   var timer=setTimeout("clockon()", 10000);
-});
+}
+$(clockon);
 //-->
  </script>