hi michael,
dank dir erstmal. ich hab deine codevorschläge eingebaut, so siehts jetzt aus:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script type="text/javascript">
<!--
function Go(x) {
if(x == "nothing") {
document.forms[0].reset();
document.forms[0].elements[0].blur();
return;
}
else if(x == "end")
top.location.href = parent.frames[1].location;
else {
var xarr=x.split("|");
ZweiFrames(xarr[0], "toprechts", xarr[1], "content");
document.forms[0].reset();
document.forms[0].elements[0].blur();
}
}
function ZweiFrames(URI1,F1,URI2,F2) {
Frame1=eval("parent."+F1);
Frame2=eval("parent."+F2);
Frame1.location.href = URI1;
Frame2.location.href = URI2;
}
//-->
</script>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<form action=""><select size=1 name="Auswahl"
onChange="Go(this.form.Auswahl.options[this.form.Auswahl.options.selectedIndex].value)"
style="width:250px; background-color:#FFFFE0; font-size:9pt; font-family:Arial,sans-serif;"
width="250">
<option value="nothing">[ bitte ausw‚hlen! ]</option>
<option value="nothing">------------------------</option>
<option value="javascript:ZweiFrames('test2_rechts'|'testcontent2')">12112121212</option>
<option value="javascript:ZweiFrames('test3_rechts'|'testcontent3')">23423423423</option>
<option value="nothing">------------------------</option>
<option value="end">Beenden
</select></form>
</body>
</html>
ich hoffe ich hab das richtig verstanden und die dinger an die richtige stelle gesetzt. funktionieren tut es leider noch immer nicht...
oli