Søren: Zwei Frames gleichzeitig ändern! Hilfe!

Beitrag lesen

Hab leider ein Problem mit dem JavaScript zwei frames gleichzeitig ändern. Kann mir jemand helfen?

Hier sind

a) der frameset

<frameset framespacing="0" border="0" rows="18%,75%,1%,10%" frameborder="0">
  <frame name="oben" scrolling="no" noresize target="Inhalt" src="oben.htm" marginwidth="0" marginheight="0">
  <frameset cols="46%,4%,49%,1%">
    <frame name="bild" src="bild.htm" scrolling="no" noresize marginwidth="0" marginheight="0">
    <frame name="platzhalter(mitte)" src="platzhalter.htm" scrolling="no" noresize>
    <frame name="main" src="welcome.htm" scrolling="no" noresize>
    <frame name="platzhalter(links)" src="rechtph.htm" scrolling="no" noresize marginwidth="0" marginheight="0">
  </frameset>
  <frame name="platzhalter(unten)" scrolling="no" noresize src="platzhalterunten.htm" marginwidth="0" marginheight="0">
  <frame name="unten" src="navunten.htm" scrolling="no" noresize marginwidth="0" marginheight="0">
  <noframes>
  <body>

<p>Diese Seite verwendet Frames. Frames werden von Ihrem Browser aber nicht
  unterstützt.</p>

</body>
  </noframes>
</frameset>

und b) der Script + Link

<SCRIPT type=text/javascript>
<!--
function ZweiFrames(URI1,F1,URI2,F2) {
  Frame1=eval("top."+F1);
  Frame2=eval("top."+F2);
  Frame1.location.href = URI1;
  Frame2.location.href = URI2;
}
//-->
</script>

<script type=text/javascript>
<!--
Normal1 = new Image();
Normal1.src = "buttons/button(Mr.Müller).jpg"; /* erste Grafik */
Highlight1 = new Image();
Highlight1.src = "buttons/button2(Mr.Müller).jpg"; /* zweite Grafik */
Normal2 = new Image();
Normal2.src = "buttons/button(Unterricht).jpg"; /* erste Grafik */
Highlight2 = new Image();
Highlight2.src = "buttons/button2(Unterricht).jpg"; /* zweite Grafik */

function Bildwechsel(Bildnr,Bildobjekt) {
window.document.images[Bildnr].src = Bildobjekt.src;
}
//-->
</script>

</head>
<body bgcolor="#000000">
<a href="javascript:ZweiFrames('platzhalter.htm','main','platzhalter.htm','oben')" onMouseOver="Bildwechsel(0,Highlight1)" onMouseOut="Bildwechsel(0,Normal1)"><img border="0" src="buttons/button(Mr.Müller).jpg"
 width="7%" height="100%"

Ich verwende Frontpage 2000 und bin Java-Neuling.
Es wird der Fehler Objekt erwartet in zeile 1 zeichen 1 Code 0
angezeigt.

Danke für eure Hilfe!