Widget:A2debugger
Version vom 12. Juli 2012, 16:20 Uhr von J* (Diskussion | Beiträge)
<form>
<select id="a2dbgSwitch"> <option value="a2dbgState">Spielstand</option> <option value="a2dbgEventLog">Event-Log</option> </select>
<input type="text" id="a2dbgGoto" maxlength="3" /><input type="button" value="Los!" id="a2dbgGotoBtn">
<textarea id="a2dbgItems"></textarea><input type="button" value="Setze!" id="a2dbgItemBtn">
</form>
<script type="text/javascript"> $("#a2dbgSwitch").click(function(){
$(".a2dbgWindow").hide(); $("#"+$(this).val()).show();
});
$("#a2dbgState").click(); </script>