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

<csscriptdict>
   <script><!--
function CSScriptInit() {
CSILoad('button',new Array(/*URL*/'bilder/dienst/willk2.gif',/*URL*/'bilder/dienst/willk21.gif',/*URL*/'','#'));
CSILoad('button2',new Array(/*URL*/'bilder/dienst/dienst2.gif',/*URL*/'bilder/dienst/dienst22.gif',/*URL*/'','#'));
CSILoad('button3',new Array(/*URL*/'bilder/dienst/refed2.gif',/*URL*/'bilder/dienst/refed23.gif',/*URL*/'','#'));
CSILoad('button4',new Array(/*URL*/'bilder/dienst/kontakte2.gif',/*URL*/'bilder/dienst/kontakte24.gif',/*URL*/'','#'));
}
CSAg = window.navigator.userAgent; CSBVers = parseInt(CSAg.charAt(CSAg.indexOf("/")+1),10);
function IsIE() { return CSAg.indexOf("MSIE") > 0;}
function CSIEStyl(s) { return document.all.tags("div")[s].style; }
function CSNSStyl(s) { return CSFindElement(s,0); }
function CSFindElement(n,ly) { if (CSBVers < 4) return document[n];
var curDoc = ly ? ly.document : document; var elem = curDoc[n];
if (!elem) { for (var i=0;i<curDoc.layers.length;i++) {
  elem = CSFindElement(n,curDoc.layers[i]); if (elem) return elem; }}
return elem;
}
function CSButtonReturn () {
var bAgent = window.navigator.userAgent;
var bAppName = window.navigator.appName;
if ((bAppName.indexOf("Explorer") >= 0) && (bAgent.indexOf("Mozilla/3") >= 0) && (bAgent.indexOf("Mac") >= 0))
  return false; // follow link
else return true; // follow link
}
CSIm = new Object();
function CSIShow(n,i) {
if (document.images) {
  if (CSIm[n]) {
   var img = (!IsIE()) ? CSFindElement(n,0) : document[n];
   if (img) {img.src = CSIm[n][i].src; self.status = CSIm[n][3];}
   return true;
  }
}
return false;
}
function CSILoad(im,ar) {
if (document.images) {
  CSIm[im] = new Object();
  for (var i=0;i<3;i++) {
   if (ar[i] != '') { CSIm[im][i] = new Image(); CSIm[im][i].src = ar[i]; }
   else CSIm[im][i] = 0;
  }
  CSIm[im][3] = ar[3];
}
}

// --></script>
  </csscriptdict>

</head>  

<body bgcolor="#ffffff" onload="CSScriptInit();">  

<table cool width="743" height="83" border="0" cellpadding="0" cellspacing="0" gridx="16" showgridx gridy="16" showgridy>
   <tr height="1" cntrlrow>
    <td width="1" height="1"></td>
    <td width="109" height="1"><spacer type="block" width="109" height="1"></td>
    <td width="133" height="1"><spacer type="block" width="133" height="1"></td>
    <td width="95" height="1"><spacer type="block" width="95" height="1"></td>
    <td width="84" height="1"><spacer type="block" width="84" height="1"></td>
    <td width="194" height="1"><spacer type="block" width="194" height="1"></td>
    <td width="128" height="1"><spacer type="block" width="128" height="1"></td>
   </tr>
   <tr height="80">
    <td width="1" height="80"><spacer type="block" width="1" height="80"></td>
    <td width="109" height="80" colspan="1" rowspan="1" valign="top" align="left" xpos="0"><csobj w="109" h="80" t="Button" ht="bilder/dienst/willk21.gif"><a href="willkommen.htm" onmouseover="return CSIShow('button',1)" onmouseout="return CSIShow('button',0)" onclick="return CSButtonReturn()"><img src="bilder/dienst/willk2.gif" width="109" height="80" name="button" border="0" alt="Willkommen bei SRI"></a></csobj></td>
    <td width="133" height="80" colspan="1" rowspan="1" valign="top" align="left" xpos="109"><csobj w="133" h="80" t="Button" ht="bilder/dienst/dienst22.gif"><a href="dienstl.htm" onmouseover="return CSIShow('button2',1)" onmouseout="return CSIShow('button2',0)" onclick="return CSButtonReturn()"><img src="bilder/dienst/dienst2.gif" width="133" height="80" name="button2" border="0" alt="Unsere Dienstleistungen"></a></csobj></td>
    <td width="95" height="80" colspan="1" rowspan="1" valign="top" align="left" xpos="242"><csobj w="95" h="80" t="Button" ht="bilder/dienst/refed23.gif"><a href="referenz.htm" onmouseover="return CSIShow('button3',1)" onmouseout="return CSIShow('button3',0)" onclick="return CSButtonReturn()"><img src="bilder/dienst/refed2.gif" width="95" height="80" name="button3" border="0" alt="Unsere Referenzen"></a></csobj></td>
    <td width="84" height="80" colspan="1" rowspan="1" valign="top" align="left" xpos="337"><csobj w="84" h="80" t="Button" ht="bilder/dienst/kontakte24.gif"><a href="kontakte.htm" onmouseover="return CSIShow('button4',1)" onmouseout="return CSIShow('button4',0)" onclick="return CSButtonReturn()"><img src="bilder/dienst/kontakte2.gif" width="84" height="80" name="button4" border="0" alt="Kontaktaufnahme"></a></csobj></td>
    <td width="194" height="80" colspan="1" rowspan="1" valign="top" align="left" xpos="421"><img height="80" width="194" src="bilder/balken.gif"></td>
    <td width="128" height="80" colspan="1" rowspan="1" valign="top" align="left" xpos="615"><img height="80" width="128" src="bilder/logo.gif"></td>
   </tr>
  </table>

############################

eigentlich sollten damit 2 frames neu geladen werden aber irgendwie will es halt einfach nicht

wer weiß rat ?

  1. 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>