Revision 171a38d3
Von Sven Schöling vor etwa 12 Jahren hinzugefügt
templates/webpages/menu/menuv3.html | ||
---|---|---|
27 | 27 |
return false; |
28 | 28 |
} |
29 | 29 |
|
30 |
function clockon() {
|
|
30 |
$(function() {
|
|
31 | 31 |
var now = new Date(); |
32 | 32 |
var h = now.getHours(); |
33 | 33 |
var m = now.getMinutes(); |
34 | 34 |
document.getElementById('clock_id').innerHTML = (h<10?'0'+h:h)+":"+(m<10?'0'+m:m); |
35 | 35 |
var timer=setTimeout("clockon()", 10000); |
36 |
} |
|
37 |
window.onload=clockon |
|
36 |
}); |
|
38 | 37 |
//--> |
39 | 38 |
</script> |
40 | 39 |
|
Auch abrufbar als: Unified diff
window.onload nicht direkt setzen