Hallo,
also, nach dem freundlichen Hinweis sieht mein Script jetz so aus:
<html>
<head>
<script language="JavaScript">
// array
var items = new Array (
items["Thema 1"] = "adress1.htm";
items["Thema 2"] = "adress2.htm";
items["Thema 3"] = "adress3.htm";
items["Thema 4"] = "adress4.htm";
);
function items(theme,adress)
{this.theme=theme;this.adress=adress;}
function go(thema)
{document.location.href=items[thema];}
function writemenu()
{
document.write('<form name="form">');
document.write('<select name="link" onChange="go(this.form.link.options[this.form.link.options.selectedIndex].value)"');
for (i=1; i<items.length; i++)
{
document.write('<option value=items[i].adress>');
document.write(items[i].adress);
document.write('</option>');
}
document.write('</select>');
document.write('</form>');
}
</script>
</head>
<body bgcolor="#FFFFFF">
<script language="JavaScript">
writemenu()
</script>
</body>
</html>
Leider gibt es immer noch zwei Fehlermeldungen :-( .
Oder hab' ich da was falsch verstanden?
Danke für die Hilfe,
Sebastian Becker