Over-Out

E-mail Kuvert Til salg

Indsæt denne JavaScrift rutine i HEAD!
<SCRIPT LANGUAGE="JavaScript" type="text/javascript">
<!--//
// Husk liste med alle billeder for ONMOUSEOVER
var imglist = new Array (
"eml-on.gif","mail-on.gif","salg-on.gif"
);
var imgs = new Array();

var count;
if (document.images)
for (count=0; count<imglist.length; count++)
{imgs[count]=new Image(); imgs[count].src=imglist[count];}
}

function musover(img,ref) { document.images[img].src = ref; }
function musud(img,ref) { document.images[img].src = ref; }
//-->
</SCRIPT>

Indsæt derefter hvert enkelt knap i BODY!
Eks. 1:
<A HREF="../pageback/pageback.htm" ONMOUSEOVER="musover('A','eml-on.gif');" ONMOUSEOUT="musud('A','eml-off.gif');">
<IMG NAME="A" ALT="E-mail" SRC="eml-off.gif" WIDTH="160" HEIGHT="52" BORDER="0">
</A>

Eks. 2:
<A HREF="../pageback/pageback.htm" ONMOUSEOVER="musover('B','mail-on.gif');" ONMOUSEOUT="musud('B','mail-off.gif');">
<IMG NAME="B" ALT="Kuvert" SRC="mail-off.gif" WIDTH="25" HEIGHT="21" BORDER="0">
</A>

Eks. 3:
<A HREF="../pageback/pageback.htm" ONMOUSEOVER="musover('C','salg-on.gif');" ONMOUSEOUT="musud('C','salg-off.gif');">
<IMG NAME="C" ALT="Til salg" SRC="salg-off.gif" WIDTH="110" HEIGHT="25" BORDER="0">
</A>