Hi,
folgender Code funktioniert im IE einwandfrei und im Netscape nicht zufrieden stellend. Bei OnMouseOver wird im Netscape punkt2.jpg nur ganz kurz aufgerufen und sofort wieder punkt.jpg angezeigt.
HTML-Code:
<tr>
<td width="4%" valign="top"><img border='0' src="images/punkt.jpg" width='13' height='10'></td>
<td width="96%" valign="top"><b><a Class="Link" href="start.html" onmouseover="change1(1); return true" onmouseout="change2(1); return true" target="Hauptframe"><b><font face="Arial size="2">Home</font></b></a></td>
</tr>
JS-Functions:
function change1(p) {
bild = new Image();
bild.src = "images/punkt2.jpg";
window.document.images[p].src = bild.src;
}
function change2(p) {
bild2 = new Image();
bild2.src = "images/punkt.jpg";
window.document.images[p].src = bild2.src;
}
Was mache ich falsch?
Im Voraus bereits vielen Dank für Eure Antworten.
Viele Grüße,
sewe