Hallo,
habe eine Seite mit Frames gemacht //wehe einer sagt "btw Frames sind veraltet"//, und in einem Frame steht halt der inhalt: (name="inhalt")
HTML
<html><frameset style="margin:10px" cols="20%,80%" border="0"><frame src="left_bar.html" name=bar" style="margin:10px"><frameset rows="15%,75%" style="margin:10px" border="0"><frame src="menu.html" name="menu" style="margin:10px"><frame src="start.html" name="inhalt" style="margin:10px"></frameset>
So sieht mein Klappmenü aus:
Code
<script language="JavaScript">
<!-- Begin
function formHandler(form) {
var URL = form.inhalt.options[form.inhalt.selectedIndex].value;
//popup = window.open(URL,"MenuPopup");
document.location=URL;
}
// End --></script>
<div align="center">
<form id='form1'>
<select name="inhalt" onChange='formHandler(this.form)' size="1">
<option value="#">Frederic</option>
<option value="ich.html">ich persönlich</option>
<option value="erfolge.html">Erfolge</option>
</select>
</form>
Alles anzeigen
Ich will, das alle Seiten in den inhalt Frame aufgerufen werden!
PS: Ich weiß nicht wie man die BBCodes anpasst...sorry!