Die Bilder tauschen sich beliebig aus. Ich weiß nicht wo mein Fehler liegt, viell. hängt es mit dem : funstion Bildwechsel (Bildnr, Bildobjekt) zusammen?
Wenn jemand meinen Fehler findet wäre ich echt dankbar, ich such ihn schon seid 4 stunden :(
http://de.geocities.com/deg4603
So siehts bei mir aus :
_____________________________________________________________________
<div align="center">
<center>
<table border="0" width="400">
<tr>
<td height="197">
<p> <script type="text/javascript">
<!--
Normal1 = new Image();
Normal1.src = "profile-kyo1.jpg"; /* erste Standard-Grafik */
Highlight1 = new Image();
Highlight1.src = "profile-kyo1h.jpg"; /* erste Highlight-Grafik */
function Bildwechsel(Bildnr.,Bildobjekt) {
window.document.images[Bildnr].src = Bildobjekt.src;
}
//-->
</script>
<table border="0" cellpadding="0" cellspacing="0" height="0">
<tr>
<p> </p><td height="400"> <a href="http://de.geocities.com/deg4603/profile-kyo.htm"
onMouseOver="Bildwechsel(0,Highlight1)"
onMouseOut="Bildwechsel(0,Normal1)"> </a><br>
</td>
</tr>
</table>
<a href="http://de.geocities.com/deg4603/profile-kyo.htm"
onMouseOver="Bildwechsel(0,Highlight1)"
onMouseOut="Bildwechsel(0,Normal1)"><img src="http://de.geocities.com/deg4603/profile-kyo1.jpg"
width="211" height="209" border="0" alt="Kyo-Profile"></a><a href="http://de.geocities.com/deg4603/profile-kyo.htm"
onMouseOver="Bildwechsel(0,Highlight1)"
onMouseOut="Bildwechsel(0,Normal1)"> </a> <img border="0" src="http://de.geocities.com/deg4603/profile-kyo2.jpg" width="348" height="210">
</td>
</tr> <tr>
<td>
___________________________________________________________________