onmouseover billede, som link giver blå rammer
HejJeg har skrevet denne simple ting kopieret fra hjemmseideskolen.dk
Jeg har inkluderet det der skal inkluderes i headeren, men der kommer en grim blå ramme omkring alle menubillederne?
<html>
<head>
<script type="text/javascript">
<!--
pict1=new Image(); pict1.src='forside.gif';
pict2=new Image(); pict2.src='forside2.gif';
pict3=new Image(); pict3.src='hvem.gif'
pict4=new Image(); pict4.src='hvem2.gif';
pict5=new Image(); pict5.src='produkter.gif';
pict6=new Image(); pict6.src='produkter2.gif'
pict7=new Image(); pict5.src='kontakt.gif';
pict8=new Image(); pict6.src='kontakt2.gif'
pict9=new Image(); pict5.src='english.gif';
pict10=new Image(); pict6.src='english2.gif'
//-->
</script>
<style type="text/css">
body{
color: black;
background: #999999;
}
</style>
</head>
<body >
<table width="772" height="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="290" colspan="3" align="center" valign="top"><img src="header1.jpg" width="772" height="290"></td>
</tr>
<tr>
<td height="50" colspan="3" align="center" valign="top"><table width="772" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="top">
<td width="149" border="0" cellspacing="0" cellpadding="0"><a href="forside.htm"
onMouseover = "document.images[0].src=pict2.src"
onMouseout = "document.images[0].src=pict1.src">
<img src="forside.gif" width="149" height="50" ></a></td>
<td width="173" border="0" cellspacing="0" cellpadding="0"><a href="os.html"<td width="149"><a href="forside.htm"
onMouseover = "document.images[0].src=pict2.src"
onMouseout = "document.images[0].src=pict1.src">
<img src="hvem.gif" width="173" height="50"></a></td>
<td width="155" border="0" cellspacing="0" cellpadding="0"><a href="produkter.html" <td width="149"><a href="forside.htm"
onMouseover = "document.images[0].src=pict2.src"
onMouseout = "document.images[0].src=pict1.src">
<img src="produkter.gif" width="155" height="50"></a></td>
<td width="137" border="0" cellspacing="0" cellpadding="0"><a href="kontakt.html" <td width="149"><a href="forside.htm"
onMouseover = "document.images[0].src=pict2.src"
onMouseout = "document.images[0].src=pict1.src">
<img src="kontakt.gif" width="137" height="50"></a></td>
<td width="158" border="0" cellspacing="0" cellpadding="0"><a href="indexenglish.html" <td width="149"><a href="forside.htm"
onMouseover = "document.images[0].src=pict2.src"
onMouseout = "document.images[0].src=pict1.src">
<img src="english.gif" width="158" height="50"></a></td>
</tr>
</table>
</td>
</tr>
</tr>
</table>
</body>
