andy: warum werden die frames nicht geladen (durch js)

Beitrag lesen

hat sich erledigt ...

der ganze code war mist

war einfach wenn‚s schwer auch geht ? *grml*

so isses viel besser:

<script language="JavaScript">
var NN3 = false;
image1= new Image();
image1.src = "bilder/refed/willk3.gif";
image1on = new Image();
image1on.src = "bilder/refed/willk31.gif";
image2= new Image();
image2.src = "bilder/refed/dienst3.gif";
image2on = new Image();
image2on.src = "bilder/refed/dienst31.gif";
image3= new Image();
image3.src = "bilder/refed/refed3.gif";
image3on = new Image();
image3on.src = "bilder/refed/refed31.gif";
image4= new Image();
image4.src = "bilder/refed/kontakte3.gif";
image4on = new Image();
image4on.src = "bilder/refed/kontakte31.gif";

function on3(name)   {
        document[name].src = eval(name + "on.src");
}
function off3(name)  {
        document[name].src = eval(name + ".src");
}
NN3 = true;

function on(name)  {
        if (NN3) on3(name);
}
function off(name)  {
        if (NN3) off3(name);
}
</script>

</head>

<body bgcolor="#ffffff">  

<table width="743" height="83" border="0" cellpadding="0" cellspacing="0">
         <TR>
      <td width="109" height="80" colspan="1" rowspan="1" valign="top" align="left"><a href="willkommen.htm" tareget="balken" onmouseover="on('image1');" onmouseout="off('image1')" onClick="parent.liste.location='willkommen/liste.htm';parent.inhalt.location='willkommen/willk.htm'; return false;"><img src="bilder/refed/willk3.gif"  border="0" name="image1"></a></TD>
   <td width="133" height="80" colspan="1" rowspan="1" valign="top" align="left"><a href="dienstl.htm" target="balken" onmouseover="on('image2');" onmouseout="off('image2')" onClick="parent.liste.location='dienstl/liste2.htm';parent.inhalt.location='dienstl/leiterp.htm'; return false;"><img src="bilder/refed/dienst3.gif"  border="0" name="image2"></a></TD>
   <td width="95" height="80" colspan="1" rowspan="1" valign="top" align="left"><a href="referenz.htm" target="balken" onmouseover="on('image3');" onmouseout="off('image3')" onClick="parent.liste.location='refez/liste3.htm';parent.inhalt.location='refenz/richtf.htm'; return false;"><img src="bilder/refed/refed3.gif"  border="0" name="image3"></a></TD>
   <td width="84" height="80" colspan="1" rowspan="1" valign="top" align="left"><a href="kontakte.htm" target="balken" onmouseover="on('image4');" onmouseout="off('image4')" onClick="parent.liste.location='kontakte/liste4.htm';parent.inhalt.location='kontakte/lageplan.htm'; return false;"><img src="bilder/refed/kontakte3.gif"  border="0" name="image4"></a></TD>
   <td width="194" height="80" colspan="1" rowspan="1" valign="top" align="left"><img height="80" width="194" src="bilder/balken.gif"></TD>
   <td width="128" height="80" colspan="1" rowspan="1" valign="top" align="left"><img height="80" width="128" src="bilder/logo.gif"></TD>
         </TR>
       </TABLE>
</body>