HTML-Code

JavaScript für das Einblend-Menü:

<HEAD>

<SCRIPT>

function Wert(select) {

for (var i=0; i<select.options.length; i++)

{if (select.options[i].selected) return select.options[i].value;}

return "none"

}

</SCRIPT>

</HEAD>


HTML-Code des Formulars:

<FORM NAME="Knopf">

<INPUT TYPE=button VALUE="STOP" onClick="document.blinker.stop()">

<INPUT TYPE=button VALUE="START" onClick="document.blinker.start()">

Widerstand R =<SELECT NAME="widerstand" ONCHANGE="document.blinker.stop();eval('document.blinker.wString=Wert(document.Knopf.widerstand)');document.blinker.start();">

<OPTION VALUE=1000>1000</OPTION>

<OPTION VALUE=2000>2000</OPTION>

<OPTION VALUE=5000 SELECTED>5000</OPTION>

<OPTION VALUE=10000 >10000</OPTION>

</SELECT> Ohm

</FORM>


zurück zum Applet "Blinkschaltung"