Hi, ich weiss echt nicht woran es liegt, da ich keinen Fehler finden kann, aber ich hab probleme mit einem JavaScript der 2 oder 3 Frames gleichzeitig ändern soll. Ich poste hier mal nen Teil vom Script, er verlinkt immer nur auf die 1. Quelle und dabei löst er die Frames auf und der Inhalt wird ganz normal wie ein Frame dargestellt. Ich hab echt keinen Plan warum es nicht funzt und bin echt am verzweifeln! Meine Frames haben auch Namen die ich in dem Script eingetragen hab. Könnt ihr mir helfen?
<html>
<head>
<title>xxx</title>
<style type="text/css">
body { margin-left:0px; margin-right:0px; margin-top:0px; margin-bottom:0px }
</style>
<script language="JavaScript">
<!--
function ZweiFrames(URL1,URL2)
{
parent.top.location.href=URL1;
parent.main.location.href=URL2;
}
function DreiFrames(URL1,URL2,URL3)
{
parent.top.location.href=URL1;
parent.main.location.href=URL2;
parent.menu.location.href=URL3;
}
-->
</script>
</head>
<body text="#FFFFFF" bgcolor="#9B9BFF" link="#FF8000" alink="#FF8000" vlink="#FF8000">
<basefont face="Verdana" basefont size=2>
<a href="javascript:ZweiFrames('impressum-top.html','../online/impressum.html')"><img src="../images/copy.gif" width="127" height="36" border="0" onmouseover="this.src='../images/copyx.gif'" onmouseout="this.src='../images/copy.gif'"></a>
<a href="javascript:DreiFrames('online-top.html','../online/online-en.html','menu-en.html')"><img src="../images/engdeu.gif" width="186" height="48" border="0" onmouseover="this.src='../images/engdeux.gif'" onmouseout="this.src='../images/engdeu.gif'"></a>
</body>
</html>