INTRUDER: linkziele in bestimmten frames anzeigen lassen

hi,
ich habe für meine interentseite ein frameset mit 3 frames gemacht, einen fürs logo, sidebar und dann für die inhalte und den text usw.
das problem ist, dass wenn ich auf einen der buttons im sidebar klicke, er entweder das ganze frameset sprengt, oder im frame des sidebar die seite lädt...
ich hätte allerdings gerne, dass es im frame3 (mainframe) angezeigt wird. hier, also bei selfhtml, hab ich das so gefunden:
"<frameset cols="250,*">
  <frame src="verweise.htm" name="links">
  <frame src="startseite.htm" name="rechts">
  <noframes>
    <body>
    <p>Alternativ-Inhalt (Zusammenfassung, Sitemap ...)</p>
    </body>
  </noframes>
</frameset>"

"<a href="startseite.htm" target="rechts">Startseite</a><br>
<a href="news.htm" target="rechts">News</a><br>
<a href="feedback.htm" target="rechts">Feedback</a><br>
<a href="impressum.htm" target="rechts">Impressum</a><br>"

(http://de.selfhtml.org/html/frames/verweise.htm)

das habe ich dann bei meinem auch so angewendet:
index.html:
"<frameset rows="330,*" frameborder="NO" border="0">
          <frame src="frame1.htm" scrolling="NO" name="logoframe">
          <frameset cols="170,*" frameborder="NO" border="0">
          <frame src="sidebar.htm" scrolling="NO" name="sidebarframe">
          <frame src="frame3.htm" name="mainframe">
  </frameset>
</frameset>"

sidebarframe:
"<html>
<head>
<meta name="author" content="Stephan Plietsch">
<meta name="description" content="Das ist die Site des NoName Clans.">
<meta name="keywords" content="NoN Clan, NoN, NoName Clan">
<meta name="date" content="2006-11-2">
<title>NoN Clan Site</title>
</head>
<body background="./hauptseite/images/higrugroßsidebar.jpg" text="color:#FF7800" alink="color:#ff7800" vlink="color:#FFFFFF">
<script language="JavaScript">
  agent = navigator.userAgent;
  yes = 0;
  if(agent.substring(0,7) == "Mozilla")
    {
    if( parseInt(agent.substring(8,9)) >= 3)
          {
          yes = 1;
          }
    }

if(yes)
    {
                 pt1n = new Image();
        pt1n.src = "./hauptseite/sidebar/orange/home.gif";
                 pt1h = new Image();
        pt1h.src = "./hauptseite/sidebar/orange/home2.gif";

pt2n = new Image();
        pt2n.src = "./hauptseite/sidebar/orange/games.gif";
                 pt2h = new Image();
        pt2h.src = "./hauptseite/sidebar/orange/games2.gif";

pt3n = new Image();
        pt3n.src = "./hauptseite/sidebar/orange/member.gif";
                 pt3h = new Image();
        pt3h.src = "./hauptseite/sidebar/orange/member2.gif";

pt4n = new Image();
        pt4n.src = "./hauptseite/sidebar/orange/joinus.gif";
                 pt4h = new Image();
        pt4h.src = "./hauptseite/sidebar/orange/joinus2.gif";

pt5n = new Image();
        pt5n.src = "./hauptseite/sidebar/orange/forum.gif";
                 pt5h = new Image();
        pt5h.src = "./hauptseite/sidebar/orange/forum2.gif";

pt6n = new Image();
        pt6n.src = "./hauptseite/sidebar/orange/kontakt.gif";
                 pt6h = new Image();
        pt6h.src = "./hauptseite/sidebar/orange/kontakt2.gif";

pt7n = new Image();
        pt7n.src = "./hauptseite/sidebar/orange/links.gif";
                 pt7h = new Image();
        pt7h.src = "./hauptseite/sidebar/orange/links2.gif";

}
  function CI(imgNum,imgName)
        {
        if(yes)
          {
          document.images[imgNum].src = eval(imgName + ".src")
          }
        }
</script>

<table background="./hauptseite/sidebar/orange/mainbar2.jpg" width="150" height="400">
       <tr><td height="40"></td></tr>
       <Tr>
           <td width="1"></td><td colspan="2"><a href="frame3.htm" onmouseover="CI('pt1','pt1h');return true" onmouseout="CI('pt1','pt1n');return true">
                        <img src="./hauptseite/sidebar/orange/home.gif" name="pt1" alt="" border="0" width="135" height="33" target="mainframe"></a></td>
      </tr>
      <tr>
           <td width="1"></td><td colspan="2"><a href="games.htm" onmouseover="CI('pt2','pt2h');return true" onmouseout="CI('pt2','pt2n');return true">
                        <img src="./hauptseite/sidebar/orange/games.gif" name="pt2" alt="" border="0" width="134" height="33" target="mainframe"></a></td>
      </tr>
      <tr>
           <td width="1"></td><td colspan="2"><a href="http://www.non.dl.am" onmouseover="CI('pt3','pt3h');return true" onmouseout="CI('pt3','pt3n');return true">
                        <img src="./hauptseite/sidebar/orange/member.gif" name="pt3" alt="" border="0" width="134" height="33" target="mainframe"></a></td>
      </tr>
      <tr>
           <td width="1"></td><td colspan="2"><a href="http://www.non.dl.am" onmouseover="CI('pt4','pt4h');return true" onmouseout="CI('pt4','pt4n');return true">
                        <img src="./hauptseite/sidebar/orange/joinus.gif" name="pt4" alt="" border="0" width="134" height="33" target="mainframe"></a></td>
      </tr>
      <tr>
           <td width="1"></td><td colspan="2"><a href="http://www.non.dl.am" onmouseover="CI('pt5','pt5h');return true" onmouseout="CI('pt5','pt5n');return true">
                        <img src="./hauptseite/sidebar/orange/forum.gif" name="pt5" alt="" border="0" width="134" height="33" target="mainframe"></a></td>
      </tr>
      <tr>
           <td width="1"></td><td colspan="2"><a href="http://www.non.dl.am" onmouseover="CI('pt6','pt6h');return true" onmouseout="CI('pt6','pt6n');return true">
                        <img src="./hauptseite/sidebar/orange/kontakt.gif" name="pt6" alt="" border="0" width="135" height="33" target="mainframe"></a></td>
      </tr>
            <tr>
           <td width="1"></td><td colspan="2">&nbsp;&nbsp; <a href="http://www.non.dl.am" onmouseover="CI('pt7','pt7h');return true" onmouseout="CI('pt7','pt7n');return true">
                        <img src="./hauptseite/sidebar/orange/links.gif" name="pt7" alt="" border="0" width="108" height="36" target="mainframe"></a></td>
</tr>
</table>
</body>
</html>"

eigentlich ist das doch korrekt, nur es funktioniert nicht...
ich hab auch schon in einem anderen forum nachgefragt, ergebnis gleich null...

es wäre echt super, wenn mir jemand helfen könnte!!!

danke!!

  1. Moin!

    eigentlich ist das doch korrekt, nur es funktioniert nicht...

    Nein, es ist nicht korrekt.

    Wo gehört das target-Attribut hin?

    Ins Image? Nicht! Kann ja gar nicht, weil nicht jeder Link aus einem Bild besteht.

    - Sven Rautenberg

    --
    "Love your nation - respect the others."
    1. ok, wenn man so lange nach dem fehler sucht, wird man echt blind!!

      vielen dank!!!