2 entries, 1 page |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<script type="text/javascript">
function change(img) {
document.images[3].src = '../images/'+ img +'.jpg';
}
function chgtext(mNum) {
var Messages = new Array (
"Testtext 1",
"Testtext 3",
"Testtext 2",
"Testtext 4"
);
document.getElementById("description").firstChild.nodeValue=Messages[mNum];
//document.all.description.innerHTML = Messages[mNum];
}
</script>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<div id="me">
<p>
<img src="../images/myself.jpg" class="myself_img" alt="Grossansicht" />
<img src="../images/myself_mini.jpg" class="small_img"
onmouseover="change('myself');chgtext(0);" alt="Miniansicht" />
<img src="../images/wir_mini.jpg" class="small_img"
onmouseover="change('wir');chgtext(1);" alt="Miniansicht" />
<img src="../images/bobby_mini.jpg" class="small_img"
onmouseover="change('bobby');chgtext(2);" alt="Miniansicht" />
<img src="../images/fam_mini.jpg" class="small_img"
onmouseover="change('fam');chgtext(3);" alt="Miniansicht" />
<span id="description">
Der voreingestellte Standarttext
<br /><br /></span></p>
</div>
2 entries, 1 page |