Hi,
hab ein dropdownmenü gemacht mit dem ich verschiedene (interne) Seiten verlinken möchte. Aber das klappt nicht. Was ist falsch. Ich kenne mich mit java überhaupt nicht aus. Außerdem wird alles ganz schmal, wenn ich die Auflösung erhöhe, muss ich da mit Prozentwerten bei den Tabellen arbeiten?
Mein Code:
<html>
<head>
<link rel="stylesheet" type="text/css" href="../roh2.css">
<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 {
parent.frames[1].location.href = x;
document.forms[0].reset();
document.forms[0].elements[0].blur();
}
}
}
</script
</head>
<style>
body {
scrollbar-face-color:#ff0000;
scrollbar-shadow-color:#ffffff;
scrollbar-highlight-color:#ffffff;
scrollbar-3dlight-color:#000000;
scrollbar-darkshadow-color:#000000;
scrollbar-track-color:#FFFFFF;
scrollbar-arrow-color:#FFFFFF; }
</style>
<body bgcolor="#FFFFFF" text="#FFFFFF" link="#3d4548" vlink="#7d653c" alink="#dec3a9">
<div style=position:absolute;top:0;left:5>
<table border="0" cellspacing="0" cellpadding="0" align="top" width="657">
<tr>
<td style="background-image:url(../images/bg_arena.gif)" valign="top">
<p align="right">| impressum | werbung
| kontakt | home |</p>
</td>
<td colspan="13">
</td>
<tr>
<td height="5"></td>
</tr>
<tr>
<td style="background-image:url(../images/bg_arena.gif); padding:10px" width="100%" height="1000" valign="top">
</p>
<h1>Service</h1>
</p>
<form action=""><select size=1 name="Auswahl"
onChange="Go(this.form.Auswahl.value)"
style="width:250px; background-color:#FFFFE0; font-size:12px;" width="180">
Wählen Sie einen Sockel aus:   
<option value="chipsatz/slot_1.htm"> Slot 1</option>
<option value="chipsatz/slot_2.htm"> Slot 2</option>
<option value="chipsatz/slot_a.htm"> Slot A</option>
<option value="chipsatz/sockel_1.htm" Sockel 1</option>
</select>
</form>
</td>
</tr>
</table>
<div style=position:absolute;top:0;right:-157>
<iframe src="../frames/rechts.htm" align="right" scrolling="no" width="165" height="1023"
marginheight="0" marginwidth="0" frameborder="0">
</iframe>
</div>
</body>
</html>