<html>
<head>
<title>buttons</title>
<meta name="author" content="Maria">
<meta name="generator" content="Ulli Meybohms HTML EDITOR">
<script language="JavaScript">
<!--
var maustaste=false;
function wechsel(name) {document.images["pille"].src = name;}
//-->
</script>
<noscript></noscript>
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#FF0000" alink="#FF0000" vlink="#FF0000">
<a href="http://www.uni-bayreuth.de"
onMouseOver="(maustaste==false)?wechsel('http://www.florian-gunkel.de/www-aufgaben/06/bilder/pill4.gif'):void(0)"
onMouseDown="maustaste=true;wechsel('http://www.florian-gunkel.de/www-aufgaben/06/bilder/pill3.gif');"
onMouseUp="maustaste=true;wechsel('http://www.florian-gunkel.de/www-aufgaben/06/bilder/pill4.gif')"
onMouseOut="maustaste=false;wechsel('http://www.florian-gunkel.de/www-aufgaben/06/bilder/pill1.gif');"
onClick="return false;"><img height="30" name="pille" src="http://www.florian-gunkel.de/www-aufgaben/06/bilder/pill1.gif" border="0"></a>
</body>
</html>
Hallo, da ist ein Denkfehler, denn onmouseover "überschreibt".
Du musst einen Schalter verwenden, z.B. maustaste.
Gruss
Michael