Hallo Mathesen,
So schauts bisher aus:
<tr>
<td>
<img src="#.jpg"
onMouseOut="this.src='#.jpg'"
onMouseOver="this.src='#1.jpg'" width="100">
</td>
<td>
--> Hier soll dann ein Text stehen wenn das bild "#1.jpg" angezeigt wird.
</td>
</tr>
Das ist einfach: Du weist dem entsprechenden <td>-Tag, wo der Text stehen soll, eine id zu:
<td id="infotext">Hier soll dann [...]</td>
Mittels folgendem JavaScript-Code kannst du dann den Inhalt ändern:
document.getElementById("infotext").innerHTML ="Hier kommt dein Text hin, das ganze geht mit <b>HTML</b>-Code...";
Näheres hier:
http://de.selfhtml.org/javascript/objekte/document.htm#get_element_by_id
Bis dann!
Marc Reichelt || http://www.marcreichelt.de/
--
Linux is like a wigwam - no windows, no gates and an Apache inside!
SELFCode: ie:{ fl:| br:> va:} ls:< fo:} rl:( n4:( ss:) de:> js:| ch:? sh:| mo:) zu:)
http://emmanuel.dammerer.at/selfcode.html
Linux is like a wigwam - no windows, no gates and an Apache inside!
SELFCode: ie:{ fl:| br:> va:} ls:< fo:} rl:( n4:( ss:) de:> js:| ch:? sh:| mo:) zu:)
http://emmanuel.dammerer.at/selfcode.html