diff options
author | zweistein <zweistein@web> | 2016-02-19 23:53:32 +0100 |
---|---|---|
committer | root <root@www-static.zdl.internetputzen.com> | 2016-02-19 23:53:32 +0100 |
commit | 726727c20b89f3747850e6fcff3bb4864b0eda6e (patch) | |
tree | 77a0493c149240ff70a3cf3d4e0244b9ff370edf | |
parent | 03938b45ed48fa0cdb932a30a7c0afeb016974a8 (diff) |
+javascript (funzt noch nicht)
-rw-r--r-- | Infrastruktur/Türstatus.mdwn | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Infrastruktur/Türstatus.mdwn b/Infrastruktur/Türstatus.mdwn index df125042..46f1a4c5 100644 --- a/Infrastruktur/Türstatus.mdwn +++ b/Infrastruktur/Türstatus.mdwn @@ -1 +1,23 @@ +<script> +function toggleDoorState(){ +var r1 = document.getElementById("door_open"); +var out = document.getElementById("door_state"); +if(r1.checked == true){ +out.innerHTML = "open"; +}else{ +out.innerHTML = "closed"; +} +} +</script> + + <div> + <br> + <input type="radio" name="door_state" id="door_open" onchange="toggleDoorState();"><label for="door_open">Open</label><br> + <input type="radio" name="door_state" id="door_closed" onchange="toggleDoorState();" checked="checked"><label for"door_closed">Close</label> + </div> + + <p id="door_state">closed</p> + + + <img src="data:image/gif;base64,R0lGODlhsgDIAPcAAAAAAFUAAIAAAKoAANUAAP8AAAArAFUrAIArAKorANUrAP8rAABVAFVVAIBVAKpVANVVAP9VAACAAFWAAICAAKqAANWAAP+AAACqAFWqAICqAKqqANWqAP+qAADVAFXVAIDVAKrVANXVAP/VAAD/AFX/AID/AKr/ANX/AP//AAAAVVUAVYAAVaoAVdUAVf8AVQArVVUrVYArVaorVdUrVf8rVQBVVVVVVYBVVapVVdVVVf9VVQCAVVWAVYCAVaqAVdWAVf+AVQCqVVWqVYCqVaqqVdWqVf+qVQDVVVXVVYDVVarVVdXVVf/VVQD/VVX/VYD/Var/VdX/Vf//VQAAgFUAgIAAgKoAgNUAgP8AgAArgFUrgIArgKorgNUrgP8rgABVgFVVgIBVgKpV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