<title>Realraum Kiosk Seite</title>
<script src="/jquery.min.js"></script>
<!--script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script-->
+ <!--script src="/purl.js"></script-->
<script type="text/javascript" src="kiosk.js"></script>
<link rel="stylesheet" href="kiosk.css" type="text/css" />
</head>
loadGooglePlusEvents();
setInterval("updateAnwesenheitStatus()", 10*1000);
setInterval("loadCalendar()", 123*1000);
- setInterval("updateSensors()",125*1000);
+ setInterval("updateSensors()",145*1000);
setInterval("loadGooglePlusEvents()", 1207*1000);
});
return true;
}
+var img_orig_src = {};
function reloadImg(element)
{
- //var image = document.getElementById("theText");
if(element.complete)
{
var new_image = new Image();
//set up the new image
new_image.id = element.id;
new_image.className = element.className;
- new_image.src = element.src;
+ if (! img_orig_src[element.id])
+ {
+ img_orig_src[element.id] = element.src;
+ }
+ new_image.src = img_orig_src[element.id] + "&dt="+Math.floor(new Date().getTime() / 1000).toString();
if (IsImageOk(new_image))
{
element.parentNode.insertBefore(new_image,element);