Habs probiert...aber auch bei dem array von der Länge 1 tut sich gar nichts im netscape......:
<html>
<head>
<title></title>
<base target="Inhalt">
<script LANGUAGE="JavaScript"><!--
var globalNum = null;
if (document.images){
document.write('<MAP NAME="weinshop.map">');
document.write('<area shape="rect" coords="0,20,60,35" href="Inhalte/JumpToGlossar.htm" onMouseOver="msover(0)" onMouseOut="msout(0)" TARGET=_top>');
document.write('<area shape="rect" coords="0,0,412,19" " onMouseOver="msover(0)" onMouseOut="msout(0)" TARGET=_top>');
}
else{
document.write('<MAP NAME="about.map">');
document.write('<AREA SHAPE=RECT COORDS="0,44,89,72" HREF="about/about.htm" onMouseOver="msover(0)" onMouseOut="msout(0)" >');
document.write('</MAP>');
}
if (document.images)
{
// 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 = "menueleiste111.jpg";
// home navigation, an Zustaende
onHomeNav[0].src = "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 != "") {
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]) 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="menueleiste111.jpg"
useMap="#weinshop.map" width="413"></td>
</tr>
</table>
</div>
</body>
</html>
»»
»» offHomeNav = new MakeImgarray(1);
»» onHomeNav = new MakeImgarray(1);
...weil du ja nur ein Bild hast zum Umschalten.
Wenn du z.B. 4 Bilder hast, must du den Array 4 gross machen etc.