Javascript - Framezuordnung

New member
Hi, ich bins mal wieder.

Folgendes Problem:

index.html:
Spoiler:
<html>
<head>
<frameset framespacing="0" border="false" frameborder="0" cols="*/2,900,*/2">
<frame name="links" src="links.html">
<frameset rows="150,*">
<frame name="banner"src="banner.html">
<frameset cols="200,700">
<frame name"navigation" src="navi.html">
<frame name="haupt" src="haupt1.html">
</frameset>
</frameset>
<frame name="rechts" src="rechts.html">
</frameset>
<script src="framework.js" type="text/javascript"></script>
</head>
</html>


navi.html:
Spoiler:
<html>
<head>
</head>
<body bgcolor="#00ff00">
<table>
<tr>
<td>
<a href="javascript:1()">Inhalt 1</a>
</td>
</tr>
<tr>
<td>
<a href="javascript:2()">Inhalt 2</a>
</td>
</tr>
<tr>
<td>
<a href="javascript:3()">Inhalt 3</a>
</td>
</tr>
</table>
</body>
</html>


framework.js:
Spoiler:
function 1()
{
top.haupt.loacation.href = "./haupt1.html";
}
function 2()
{
top.haupt.location.href = "./haupt2.html";
}
function 3()
{
top.haupt.location.href = "./haupt3.html";
}


Alle anderen Dateien, wie haupt3.html usw. sind mit den bereits oben genannten in einem einzigen Ordner.

Im InternetExplorer kommt immer ein Seitenladefehler, wenn ich im navi die 3. Seite im "haupt"-Fenster anzeigen lassen möchte.

Bitte helft mir.
nils
 

Online-Statistiken

Zurzeit aktive Mitglieder
0
Zurzeit aktive Gäste
443
Besucher gesamt
443

Beliebte Forum-Themen

X
Keine passende Antwort gefunden?