Guten Abend!
Habs heute Abend mal schnell geschrieben. Eigendlich ist der Code selbsterklärend. Wenn du hilfe bei der Modifikation brauchst, kannste dich ja gerne nochmal melden.
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<script type="text/javascript">
var normalbild = new Array();
var hoverbild = new Array();
normalbild[0] = "0.jpg";
normalbild[1] = "1.jpg";
normalbild[2] = "2.jpg";
hoverbild[0] = "0h.jpg";
hoverbild[1] = "1h.jpg";
hoverbild[2] = "2h.jpg";
function c1 (i) {
document.getElementById("bild_"+i).src = hoverbild[i];
}
function c2 (i) {
document.getElementById("bild_"+i).src = normalbild[i];
}
</script>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>test</title>
</head>
<body>
<img id="bild_0" src="0.jpg" onMouseOver="c1(0);" onMouseOut="c2(0);" />
<img id="bild_1" src="1.jpg" onMouseOver="c1(1);" onMouseOut="c2(1);" />
<img id="bild_2" src="2.jpg" onMouseOver="c1(2);" onMouseOut="c2(2);" />
</body>
</html>
So, kommen wir nun zur Bezahlung. Also, ich bin 23, gutausehend, Student, 187 cm und würde gerne ne Einladung zum Abendessen oder ne Maniküre haben
)