Tobi: onmouseover

Beitrag lesen

Hallo,
ich bin Deinen Anweisungen gefolgt, leider hat es keine Änderung gegeben....ich fürchte langsam, daß es keine Lösung für mein Problem gibt: Hier ist nochmal der von mir durch Deine Hilfe geänderte relevante Script:
<html>

<head>
<title></title>
<base target="Inhalt">
<script LANGUAGE="JavaScript"><!--

var globalNum = null;

// document.write('<area shape="rect" coords="0,20,68,35" href="weinshop.htm" target="Hauptframe" onMouseover="msover(0);return true;" onMouseout="msout(0);return true;" >');

document.write('<MAP NAME="weinshop.map">');
document.write('<area shape="rect" coords="0,20,68,35" href="weinshop.htm" target="Hauptframe" onMouseOver="msover(0);return true;" onMouseOut="msout(0);return true;" >');
document.write('<area shape="rect" coords="69,20,120,35" href="galerie.htm" target="Hauptframe" onMouseOver="msover(0);return true;" onMouseOut="msout(0);return true;" >');
document.write('<area shape="rect" coords="121,20,194,35" href="bestellung.htm" target="Hauptframe" onMouseOver="msover(0);return true;" onMouseOut="msout(0);return true;" >');
document.write('<area shape="rect" coords="195,20,250,35" href="länder.htm" target="Hauptframe" onMouseOver="msover(0);return true;" onMouseOut="msout(0);return true;" >');
document.write('<area shape="rect" coords="251,20,300,35" href="leute.htm" target="Hauptframe" onMouseOver="msover(0);return true;" onMouseOut="msout(0);return true;" >');
document.write('<area shape="rect" coords="301,20,354,35" href="service.htm" target="Hauptframe" onMouseOver="msover(0);return true;" onMouseOut="msout(0);return true;" >');
document.write('<area shape="rect" coords="355,20,412,35" href="kontakt.htm" target="Hauptframe" onMouseOver="msover(0);return true" onMouseOut="msout(0);return true;" >');

document.write('<area shape="rect" coords="0,0,412,19" " onMouseOver="msover(0)" onMouseOut="msout(0)" TARGET=_top>');

// Anzahl vorhergehender Bilder (die nichts mit den Rollovers zu tun haben:

n = 0;
    
  // Anti-flicker array
  
    onState = new MakeArray(1);
  
  // Bilderstatus array
  
        offHomeNav = new MakeImgarray(1);
       onHomeNav = new MakeImgarray(1);

// home navigation, aus Zustaende

offHomeNav[0].src = "images/menueleiste111.jpg";
            
  
   // home navigation, an Zustaende

onHomeNav[0].src = "images/menueleiste112.jpg";

function MakeImgarray(n) {
this.length = n;
for (var i = 0; i<=n; i++) {

this[i] = new Image();
  }
}

function MakeArray(n) {
this.length = n;
for (var i = 0; i<=n; i++) {

this[i] = 0;
  }
}

function msover(num) {
if (document.images) {
  onState[num] = 1;
  if (onHomeNav[num].src != "") {
   top.frames[0].document.images[num+n].src = onHomeNav[num].src;
   }
  }
}

function msout(num) {
if (document.images) {
  onState[num] = 0;
  globalNum = num;
  if (offHomeNav[num].src != "") {
   setTimeout('if (!onState[globalNum]) top.frames[0].document.images[globalNum+n].src = offHomeNav[globalNum].src',1);
   }
  }
}

//--></script>
</head>

<body background="images/Frameecke331.JPG">
<div align="right">

<table border="0" cellpadding="0" cellspacing="0" width="70%">
  <tr>
    <td width="50%"></td>
    <td width="50%"><img border="0" height="36" src="images/menueleiste111.jpg"
    useMap="#weinshop.map" width="413"></td>
  </tr>
</table>
</div>
</body>
</html>