From: Bernhard Tittelbach Date: Thu, 29 Jul 2010 23:20:32 +0000 (+0000) Subject: ir send indicator X-Git-Url: https://git.realraum.at/?a=commitdiff_plain;h=d60ba8aa4d7b60a15bdc8030a7e73fcc4810c48c;p=svn42.git ir send indicator --- diff --git a/powersensordaemon/ymhremote.html b/powersensordaemon/ymhremote.html index 954025a..8e0dd7e 100755 --- a/powersensordaemon/ymhremote.html +++ b/powersensordaemon/ymhremote.html @@ -6,10 +6,14 @@ function sendButton( btn ) { //alert(btn); + document.getElementById('indicator').style.backgroundColor="red"; var req = new XMLHttpRequest(); - url = "http://slug.realraum.at/www/cgi-bin/switch.cgi?power=send&id="+btn; + url = "http://slug.realraum.at/cgi-bin/switch.cgi?power=send&id="+btn; req.open("GET", url ,false); req.send(null); + //response = req.responseText; + //document.getElementById('output').innerHTML = response; + document.getElementById('indicator').style.backgroundColor="white"; } function remoteKeyboard( e ) @@ -56,7 +60,11 @@ document.onkeydown = remoteKeyboard; - + + + + +
@@ -94,6 +102,6 @@ document.onkeydown = remoteKeyboard; ymhtimelevel ymhmenu - +todo: unnütze teile der Fernbedienung (die Geräte Tasten über "Power" und unten das "Yamaha") wegschneiden und image map x-koordinaten anpassen \ No newline at end of file