</table>
</div>
<div class="sensorelem">
- <img id="tempsensor" class="sensorimg" src="http://realraum.at/get_sensor.php?sensor=temp"/>
+ <img id="tempsensor" class="sensorimg" src="http://realraum.at/shmcache/temp0.png"/>
</div>
<div class="sensorelem">
- <img id="lightsensor" class="sensorimg" src="http://realraum.at/get_sensor.php?sensor=light"/>
+ <img id="lightsensor" class="sensorimg" src="http://realraum.at/shmcache/light0.png"/>
</div>
<div class="sensorelem">
- <img id="movementsensor" class="sensorimg" src="http://realraum.at/get_sensor.php?sensor=movement"/>
+ <img id="movementsensor" class="sensorimg" src="http://realraum.at/shmcache/movement.png"/>
</div>
</div>
{
img_orig_src[element.id] = element.src;
}
- new_image.src = img_orig_src[element.id] + "&dt="+Math.floor(new Date().getTime() / 1000).toString();
+ 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);