|
|
@ -120,19 +120,29 @@ function button_minus(feld,min,schritt)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function start_plus(feld,schritt)
|
|
|
|
function real_start_plus(feld, schritt) {
|
|
|
|
{
|
|
|
|
clearInterval(aktiv);
|
|
|
|
aktiv = setInterval("button_plus('"+feld+"',"+schritt+")",50);
|
|
|
|
aktiv = setInterval("button_plus('"+feld+"',"+schritt+")",100);
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function start_minus(feld,min,schritt)
|
|
|
|
function real_start_minus(feld, min, schritt) {
|
|
|
|
{
|
|
|
|
clearInterval(aktiv);
|
|
|
|
aktiv = setInterval("button_minus('"+feld+"',"+min+","+schritt+")",50);
|
|
|
|
aktiv = setInterval("button_minus('"+feld+"',"+min+","+schritt+")",100);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function start_plus(feld,schritt) {
|
|
|
|
|
|
|
|
aktiv = setInterval("real_start_plus('"+feld+"',"+schritt+")", 250);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function start_minus(feld,min,schritt) {
|
|
|
|
|
|
|
|
aktiv = setInterval("real_start_minus('"+feld+"',"+min+","+schritt+")", 250);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function stopp()
|
|
|
|
function stopp()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
clearInterval(aktiv);
|
|
|
|
clearInterval(aktiv);
|
|
|
|
|
|
|
|
aktiv = null;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
-->
|
|
|
|
-->
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
@ -151,44 +161,44 @@ function stopp()
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<td>Stärke <?php echo $char[starke]; ?></td>
|
|
|
|
<td>Stärke <?php echo $char[starke]; ?></td>
|
|
|
|
<td><input id="input" name="staerke" type="text" value=0 size="2" readonly>
|
|
|
|
<td><input id="input" name="staerke" type="text" value=0 size="2" readonly>
|
|
|
|
<input id="input" type="button" name="+1" value=" + " onMouseDown="start_plus('staerke',1);" onMouseUp="stopp();">
|
|
|
|
<input id="input" type="button" name="+1" value=" + " onClick="button_plus('staerke', 1)" onMouseDown="start_plus('staerke',1);" onMouseUp="stopp();">
|
|
|
|
<input id="input" type="button" name="-1" value="-" onMouseDown="start_minus('staerke',0,1);" onMouseUp="stopp();"></td>
|
|
|
|
<input id="input" type="button" name="-1" value="-" onClick="button_minus('staerke', 0, 1)" onMouseDown="start_minus('staerke',0,1);" onMouseUp="stopp();"></td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<td>Verteidigung <?php echo $char[verteidigung]; ?></td>
|
|
|
|
<td>Verteidigung <?php echo $char[verteidigung]; ?></td>
|
|
|
|
<td><input id="input" name="verteidigung" type="text" value=0 size="2" readonly>
|
|
|
|
<td><input id="input" name="verteidigung" type="text" value=0 size="2" readonly>
|
|
|
|
<input id="input" type="button" name="+2" value=" + " onMouseDown="start_plus('verteidigung',1);" onMouseUp="stopp();">
|
|
|
|
<input id="input" type="button" name="+2" value=" + " onClick="button_plus('verteidigung', 1)" onMouseDown="start_plus('verteidigung',1);" onMouseUp="stopp();">
|
|
|
|
<input id="input" type="button" name="-2" value="-" onMouseDown="start_minus('verteidigung',0,1);" onMouseUp="stopp();"></td>
|
|
|
|
<input id="input" type="button" name="-2" value="-" onClick="button_minus('verteidigung', 0, 1)" onMouseDown="start_minus('verteidigung',0,1);" onMouseUp="stopp();"></td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<td>Geschwindigkeit <?php echo $char[speed]; ?></td>
|
|
|
|
<td>Geschwindigkeit <?php echo $char[speed]; ?></td>
|
|
|
|
<td><input id="input" name="speed" type="text" value=0 size="2" readonly>
|
|
|
|
<td><input id="input" name="speed" type="text" value=0 size="2" readonly>
|
|
|
|
<input id="input" type="button" name="+3" value=" + " onMouseDown="start_plus('speed',1);" onMouseUp="stopp();">
|
|
|
|
<input id="input" type="button" name="+3" value=" + " onClick="button_plus('speed', 1)" onMouseDown="start_plus('speed',1);" onMouseUp="stopp();">
|
|
|
|
<input id="input" type="button" name="-3" value="-" onMouseDown="start_minus('speed',0,1);" onMouseUp="stopp();"></td>
|
|
|
|
<input id="input" type="button" name="-3" value="-" onClick="button_minus('speed', 0, 1)" onMouseDown="start_minus('speed',0,1);" onMouseUp="stopp();"></td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<td>Ausdauer <?php echo $char[ausdauer]; ?></td>
|
|
|
|
<td>Ausdauer <?php echo $char[ausdauer]; ?></td>
|
|
|
|
<td><input id="input" name="ausdauer" type="text" value=0 size="2" readonly>
|
|
|
|
<td><input id="input" name="ausdauer" type="text" value=0 size="2" readonly>
|
|
|
|
<input id="input" type="button" name="+4" value=" + " onMouseDown="start_plus('ausdauer',1);" onMouseUp="stopp();">
|
|
|
|
<input id="input" type="button" name="+4" value=" + " onClick="button_plus('ausdauer', 1)" onMouseDown="start_plus('ausdauer',1);" onMouseUp="stopp();">
|
|
|
|
<input id="input" type="button" name="-4" value="-" onMouseDown="start_minus('ausdauer',0,1);" onMouseUp="stopp();"></td>
|
|
|
|
<input id="input" type="button" name="-4" value="-" onClick="button_minus('ausdauer', 0, 1)" onMouseDown="start_minus('ausdauer',0,1);" onMouseUp="stopp();"></td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<td>Glück <?php echo $char[glueck]; ?></td>
|
|
|
|
<td>Glück <?php echo $char[glueck]; ?></td>
|
|
|
|
<td><input id="input" name="glueck" type="text" value=0 size="2" readonly>
|
|
|
|
<td><input id="input" name="glueck" type="text" value=0 size="2" readonly>
|
|
|
|
<input id="input" type="button" name="+5" value=" + " onMouseDown="start_plus('glueck',1);" onMouseUp="stopp();">
|
|
|
|
<input id="input" type="button" name="+5" value=" + " onClick="button_plus('glueck', 1)" onMouseDown="start_plus('glueck',1);" onMouseUp="stopp();">
|
|
|
|
<input id="input" type="button" name="-5" value="-" onMouseDown="start_minus('glueck',0,1);" onMouseUp="stopp();"></td>
|
|
|
|
<input id="input" type="button" name="-5" value="-" onClick="button_minus('glueck', 0, 1)" onMouseDown="start_minus('glueck',0,1);" onMouseUp="stopp();"></td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<td>HP <?php echo $char_hp[1]; ?> ( 1 = 10)</td>
|
|
|
|
<td>HP <?php echo $char_hp[1]; ?> ( 1 = 10)</td>
|
|
|
|
<td><input id="input" name="hp" type="text" value=0 size="2" readonly>
|
|
|
|
<td><input id="input" name="hp" type="text" value=0 size="2" readonly>
|
|
|
|
<input id="input" type="button" name="+6" value=" + " onMouseDown="start_plus('hp',1);" onMouseUp="stopp();">
|
|
|
|
<input id="input" type="button" name="+6" value=" + " onClick="button_plus('hp', 1)" onMouseDown="start_plus('hp',1);" onMouseUp="stopp();">
|
|
|
|
<input id="input" type="button" name="-6" value="-" onMouseDown="start_minus('hp',0,1);" onMouseUp="stopp();"></td>
|
|
|
|
<input id="input" type="button" name="-6" value="-" onClick="button_minus('hp', 0, 1)" onMouseDown="start_minus('hp',0,1);" onMouseUp="stopp();"></td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<td>MP <?php echo $char_mp[1]; ?> (1 = 5)</td>
|
|
|
|
<td>MP <?php echo $char_mp[1]; ?> (1 = 5)</td>
|
|
|
|
<td><input id="input" name="mp" type="text" value=0 size="2" readonly>
|
|
|
|
<td><input id="input" name="mp" type="text" value=0 size="2" readonly>
|
|
|
|
<input id="input" type="button" name="+7" value=" + " onMouseDown="start_plus('mp',1);" onMouseUp="stopp();">
|
|
|
|
<input id="input" type="button" name="+7" value=" + " onClick="button_plus('mp', 1)" onMouseDown="start_plus('mp',1);" onMouseUp="stopp();">
|
|
|
|
<input id="input" type="button" name="-7" value="-" onMouseDown="start_minus('mp',0,1);" onMouseUp="stopp();"></td>
|
|
|
|
<input id="input" type="button" name="-7" value="-" onClick="button_minus('mp', 0, 1)" onMouseDown="start_minus('mp',0,1);" onMouseUp="stopp();"></td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<td></td>
|
|
|
|
<td></td>
|
|
|
|