From d6d92d88c7bbfd0de64eb650d6ed97c9daffe1d7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Fri, 21 Sep 2012 10:55:06 +0200 Subject: [PATCH] (merge) window.onload nicht direkt setzen -> Funktonsnamen werden ncoh gebraucht. --- templates/webpages/menu/menunew.html | 5 +++-- templates/webpages/menu/menuv3.html | 5 +++-- templates/webpages/menu/menuv4.html | 5 +++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/templates/webpages/menu/menunew.html b/templates/webpages/menu/menunew.html index 539bf4e55..f7460923a 100644 --- a/templates/webpages/menu/menunew.html +++ b/templates/webpages/menu/menunew.html @@ -2,13 +2,14 @@ [% USE HTML %] diff --git a/templates/webpages/menu/menuv3.html b/templates/webpages/menu/menuv3.html index 9a3410da5..b3f064a5c 100644 --- a/templates/webpages/menu/menuv3.html +++ b/templates/webpages/menu/menuv3.html @@ -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); //--> diff --git a/templates/webpages/menu/menuv4.html b/templates/webpages/menu/menuv4.html index d82a8e0d6..a24b637db 100644 --- a/templates/webpages/menu/menuv4.html +++ b/templates/webpages/menu/menuv4.html @@ -7,12 +7,13 @@ -- 2.20.1