Vergeblich suche ich nach der Lösung um im nachfolgenden js die links in einem neuen Fenster zu öffnen.
________________________________________________________________________________________________________________________
<script language="JavaScript">
<!-- Verstecken für ältere Browser --
function surfto(form) {
var myindex=form.select1.selectedIndex
if (form.select1.options[myindex].value != "0") {
location=form.select1.options[myindex].value;}
}
// Ende Verstecken -->
</SCRIPT>
__________________________________________________
<FORM NAME="form1">
<SELECT NAME="select1" onChange="surfto(this.form)" SIZE=1>
<OPTION SELECTED VALUE="0">
----- Wählen Sie aus: ----- </option>
<OPTION VALUE="
http://www.meteoschweiz.ch">meteoschweiz</option> <OPTION VALUE="
http://www.sfdrs.ch">sfdrs</option> <OPTION VALUE="
http://meteo.aero">meteo.aero</option> <OPTION VALUE="
http://www.zamg.ac.at">www.zamg.ac.at</option> </SELECT>
</FORM>
____________________________________________________________
____________________________________________________________
Abgesehen davon funktioniert das script gut. Wer kann mir weiterhelfen?
Gruss
Renate