Ciao ragazzi, mi date una mano?
ho questo codice che muove un'immagine insieme al cursore, come purtroppo ho scoperto, su mozilla e netscape il comando dentro body non funziona, come posso fare per trovare una via alternativa?
Grazie in anticipo
<html>
<head>
<script type="text/javascript">
function cursor()
{
document.getElementById('trail').style.visibility= "visible"
document.getElementById('trail').style.position="a bsolute"
document.getElementById('trail').style.left=event. clientX+10
document.getElementById('trail').style.top=event.c lientY
}
</script>
</head>
<body onmousemove="cursor()">
<h1>Move the cursor over this page</h1>
[img]immagine.gif[/img]
</body>
</html>