zusätlich sollte mousover deaktiviert sein.
@trunx: dreshalb habe ich es ja auch unter javascript gepostet, ich
brüuchte codehilfe..., trotzdem thx für deine antwort
das hat bei mir funktioniert:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1250">
<meta http-equiv="Content-Script-Type" content="text/javascript">
<title>Bildtausch</title>
<script type="text/javascript">
function bild(){
document.getElementById('testbild').src='test2.jpg';
window.setTimeout('document.getElementById('i1').src='test1.jpg'',200);
}
</script>
</head>
<body>
<a href="javascript:void(0)" onclick="bild();"><img src="test1.jpg" id="testbild" style="border:0" alt=""></a>
</body>
</html>
bye trunx
Die Standard-Antwort: "Bitte benutze die Forum-Suche!" macht die Forum-Suche kaputt, weil die Suche dann nämlich genau vor allem diese Standard-Antwort, also Müll liefert. Sinnvoller ist stattdessen folgende Standard-Antwort: "Dieses Thema wurde schon vielfach im Forum besprochen, siehe z.B. <a>hier</a> oder <a>hier</a> oder benutze die Forum-Suche z.B. mit den Stichworten 'Stichwort1 Stichwort2' ."