Hi ich habe eine Frage warum vollgendes nicht geht
PHP:
<head>
<script type="text/javascript">
<!--
function Go(x)
{
if(x == "")
{
document.forms[0].reset();
document.forms[0].elements[0].blur();
return;
}
else
{
parent.location.href = x;
document.forms[0].reset();
document.forms[0].elements[0].blur();
}
} {}
//-->
</script>
</head>
<body bgcolor="#EEEEEE" class="doc">
<form name="MetaForm"><select size="1" onChange="Go(this.form.category.options[this.form.category.options.selectedIndex].value)" class="form" id="category" name="category">
<option value="" selected>Wechseln zu:</option>
<option value="">-------</option>
<option value="index.php?show=news">News</option>
<option value="index.php?show=archiv">Archiv</option>
<option value="index.php?show=artikel>Artikel</option>
<option value="index.php?show=gbook">Gbook</option>
<option value="index.php?show=gallery">Gallery</option>
<option value="index.php?show=statistic">Stats</option>
<option value="index.php?show=events">Events</option>
<option value="index.php?show=help">Help</option>
<option value="index.php?show=suche">Search</option>
<option value="index.php?show=members">Members</option>
<option value="index.php?show=clankasse">Clankasse</option>
<option value="index.php?show=squds">Squads</option>
<option value="index.php?show=rules">Rules</option>
<option value="index.php?show=sponsors">Sponsors</option>
<option value="index.php?show=clanwars">Matches</option>
<option value="index.php?show=trains">Trains</option>
<option value="index.php?show=servers">Server</option>
<option value="index.php?show=awards">Awards</option>
<option value="index.php?show=history">History</option>
<option value="index.php?show=mailus">Contact</option>
<option value="index.php?show=board">Forum</option>
<option value="index.php?show=votes">Votes</option>
<option value="index.php?show=faq">FAQ</option>
<option value="index.php?show=comunity">Userlist</option>
<option value="index.php?show=files">Files</option>
<option value="index.php?show=links">Links</option>
<option value="index.php?show=quotes">Quotes</option>
<option value="index.php?show=replays">Replays</option>
<option value="index.php?show=sponsors">Partner</option>
<option value="index.php?show=joinus">Join us</option>
<option value="index.php?show=fightus">Fight us</option>
<option value="index.php?show=linkus">Link us</option>
</select>
</form>
</body>