det var lidt blandet hvad jeg havde var fordi at jeg prøvede at sætte tegn på alle måder jeg kunne komme i tanke om....
hhmmm skrev det som du sagde, men virker stadig ikke
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css">
<script type="text/javascript">
function changeImage(img,knap,io){
if(io=in){
document.getElementById(knap).src=img;
}
else{
document.getElementById(knap).src=img;
}
}
</script>
</head>
<body>
<div id="knap1">
<img src="1.png">
</div>
<div id="knap2">
<img src="2.png">
</div>
<div id="knap3">
<img src="3.png">
</div>
<div id="knap4">
<img src="4.png">
</div>
<div id="hoved">
<img src="hoved.png" usemap="#menu" border="0">
</div>
<map name="menu" >
<area shape ="rect" coords ="54,6,214,46"
onmouseover="changeImage('9.png','knap1','in')"
onmouseout="changeImage('1.png','knap1','out')"
href ="Site1.html" target ="_blank">
<area shape ="rect" coords ="234,6,394,46"
onmouseover = "changeImage('10.png','knap2','in')"
onmouseout = "changeImage('2.png','knap2','out')"
href ="Site2.html" target ="_blank">
<area shape ="rect" coords ="414,6,574,46"
onmouseover = "changeImage('11.png','knap3','in')"
onmouseout = "changeImage('3.png','knap3','out')"
href ="Site3.html" target ="_blank">
<area shape ="rect" coords ="594,6,754,46"
onmouseover = "changeImage('12.png','knap4','in')"
onmouseout = "changeImage('4.png','knap4','out')"
href ="Site4.html" target ="_blank">
</map>
</body>
</html>