Hallo Forum,
ein vermaledeites kleines unschönes Frameset, Javascript Problem. Ich habe in einem Navigationsframe ein Dropdownfeld, bei Auswahl eines Eintrags und betätigen eines Buttons wird in ein anderes Teil des Framesets eine Datei geladen. Dummerweise führt das sofort nach dem Laden zu einem Reload
des Navigationsbars, der einfach nur störend wirkt. Ist das einfach ein Java-Script Problem, gegen das sich nichts machen lässt, oder ist nur meine Dummheit ?
die URL: http://www.Rhein-Neckar-Guide.de
Das Script:
<SCRIPT language="JavaScript">
<!--
function Go()
{
parent.unten.location.href = document.dropdown.stadt.options[document.dropdown.stadt.options.selectedIndex].value+'.html';
}
//-->
</SCRIPT>
Das Frameset:
<frameset border="0" frameborder="0" framespacing="0" cols="800,*">
<frameset rows="145,*,20" border="0" frameborder="0" framespacing="0" >
<frame scrolling="no" marginwidth="0" src="navbar2.html" marginheight="0" name="oben">
<frame marginwidth="25" src="mannheim/ma-kneipen.html" marginheight="0" name="unten">
<frame marginheight="0" scrolling="no" src="bottom.htm" name="fuss">
</frameset>
<frame scrolling="no" src="rand.html">
</frameset>
Das Dropdownfeld:
<select name="stadt">
<option value="/mannheim/mannheim">Mannheim Übersicht
<option value="/heidelberg/heidelberg">Heidelberg Übersicht
<option value="/heidelberg/hd-disko">Diskotheken in Heidelberg
<option value="/heidelberg/hd-kneipen">Szenecafés,Bistros in Heidelberg
<option value="/heidelberg/hd-gaststaetten">Restaurants in Heidelberg
<option value="/heidelberg/hd-fastfood">Fastfood in Heidelberg
<option value="/mannheim/ma-kneipen">Szenecafés,Bistros in Mannheim
<option value="/mannheim/ma-disko">Diskotheken in Mannheim
<option value="/mannheim/ma-gaststaetten">Restaurants in Mannheim
<option value="/mannheim/ma-cafe">Cafés in Mannheim
<option value="/mannheim/ma-eiscafe">Eiscafés in Mannheim
<option value="/mannheim/ma-fastfood">Fastfood in Mannheim
</select>